Property | Type | Description | |
---|---|---|---|
$asDropDownList | whether to display a dropdown select box or use it for tagging | ||
$data | array | @param data for generating the list options (value=>display) | |
$events | the JavaScript event handlers. | ||
$language | locale. Defaults to null. Possible values: "it" | ||
$pluginOptions | the plugin options |
Method | Description | |
---|---|---|
init ( ) | Initializes the widget. | |
registerClientScript ( ) | Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin in order to attach events if any | |
renderField ( ) | Renders the select2 field | |
run ( ) | Runs the widget. |
public registerClientScript ( ) |
public $asDropDownList |
public array $data | ||
return | array |