PHP Class WhSelect2

Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
Afficher le fichier Open project: 2amigos/yiiwheels

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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.

Method Details

init() public méthode

Initializes the widget.
public init ( )

registerClientScript() public méthode

Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin in order to attach events if any

renderField() public méthode

Renders the select2 field
public renderField ( )

run() public méthode

Runs the widget.
public run ( )

Property Details

$asDropDownList public_oe property

whether to display a dropdown select box or use it for tagging
public $asDropDownList

$data public_oe property

@param data for generating the list options (value=>display)
public array $data
Résultat array

$events public_oe property

the JavaScript event handlers.
public $events

$language public_oe property

locale. Defaults to null. Possible values: "it"
public $language

$pluginOptions public_oe property

the plugin options
public $pluginOptions