All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions
MultiSelectAutoComplete Class Reference
Inheritance diagram for MultiSelectAutoComplete:

Public Member Functions

 run ()
- Public Member Functions inherited from ZurmoWidget
 init ()

Data Fields

 $scriptFile = 'jquery.tokeninput.js'
 $cssFile = null
 $propertyToSearch = 'name'
 $queryParam = 'term'
 $searchDelay = 300
 $minChars = 1
 $resultsLimit = 'null'
 $preventDuplicates = 'true'
- Data Fields inherited from ZurmoWidget

Protected Member Functions

 resolvePackagePath ()
- Protected Member Functions inherited from ZurmoWidget
 resolvePackagePath ()
 registerCoreScripts ()
 registerScriptFile ($fileName, $position=CClientScript::POS_END)

Detailed Description

Jquery multi-select auto complete based on Jquery Token input script.

Definition at line 41 of file MultiSelectAutoComplete.php.

Member Function Documentation

resolvePackagePath ( )

Determine the package installation path. This method will identify the JavaScript root URL and theme root URL. If they are not explicitly specified, it will publish the included JUI package and use that to resolve the needed paths.

Definition at line 172 of file MultiSelectAutoComplete.php.

Field Documentation


The text to show in the dropdown label which appears when you first click in the search field. default: Type a search term

Definition at line 65 of file MultiSelectAutoComplete.php.


Prepopulate the tokeninput with existing data. Set to an array of JSON objects, eg: [{id: 3, name: "John Smith", id: 5, name: "Jill Smith"}] to pre-fill the input. default: null

Definition at line 119 of file MultiSelectAutoComplete.php.

The documentation for this class was generated from the following file:
Generated on Sat May 30 2020 07:10:54