MultiSelectAutoComplete Class Reference

Inheritance diagram for MultiSelectAutoComplete:
ZurmoWidget

Public Member Functions

 run ()

Data Fields

 $scriptFile = 'jquery.tokeninput.js'
 $cssFile = null
 $name
 $sourceUrl
 $htmlOptions
 $hintText
 $onAdd
 $onDelete
 $propertyToSearch = 'name'
 $queryParam = 'term'
 $searchDelay = 300
 $minChars = 1
 $resultsLimit = 'null'
 $preventDuplicates = 'true'
 $jsonEncodedIdsAndLabels

Protected Member Functions

 resolvePackagePath ()

Detailed Description

Jquery multi-select auto complete based on Jquery Token input script. http://loopj.com/jquery-tokeninput/

Definition at line 41 of file MultiSelectAutoComplete.php.


Member Function Documentation

resolvePackagePath (  )  [protected]

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.

Reimplemented from ZurmoWidget.

Definition at line 172 of file MultiSelectAutoComplete.php.


Field Documentation

$hintText

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.

$jsonEncodedIdsAndLabels

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:
 All Data Structures Functions Variables
Generated on Tue Mar 28 07:10:26 2017