PHP Connector API

  • add - adds a configured connector object to a collection for further retrieving the entire collection from the server
  • add_section - adds the first child tag(section) to data
  • asString - allows getting data generated by dhtmlxConnector as a string. Once the functionality is activated, dhtmxConnector starts to return data as a string instead of direct loading into the client
  • configure - configures the connector without rendering data
  • dynamic_loading - enables the dynamical loading mode for connector
  • enable_log - enables logging for connector
  • is_select_mode - returns current active mode
  • mix - has 2 overloads
  • render - retrieves configured data from the server
  • render_array - configures connector and retrieves data from a PHP array
  • render_sql - configures connector and retrieves data based on provided SQL text
  • render_complex_sql - configures connector and retrieves data based on provided SQL text
  • render_table - configures connector and retrieves data from single table
  • set_encoding - allows you to set encoding that will be applied to generated XML
  • set_limit - limits the number of data items that will be loaded to a component
  • set_options - creates a collection of options (attaches OptionsConnector to gridConnector or schedulerConnector)
  • sort - sorts a dataset on the server side
Back to top