Return the the requested option of the autocomplete
Parameters:
Return the result for the autocomplete as PHP object. Determines automatically the placeholders (?) used into the SQL command
API Tags:
Access: public
Main method which do everthing for the autocomplete. Should be called after all settings are done. Note that in one file we can have more than one autocomplete definitions. Construct the autocomplete and perform Query operations.
Parameters:
Set a JavaScript event for the autocomplete. For all the possible events refer the documentation
Parameters:
Set the limit of the requested data in case of SQL command
Parameters:
Set the desired option for autocomplete. For a full list of the option refer the documentation
Parameters:
string $option option name see options:
mixed $value:
API Tags:
Access: public
Set the source need for autocomlete to send a data. Can be a string or array. If the option is string then this is the url from where to obtain the data.
Parameters:
mixed $source string or array to be set:
API Tags:
Access: public