YiiWheels
  • Package
  • Class
  • Tree

Packages

  • None
  • yiiwheels
    • behaviors
    • widgets
    • widgets
      • ace
      • box
      • datepicker
      • daterangepicker
      • datetimepicker
      • detail
      • fileupload
      • fileuploader
      • gallery
      • google
      • grid
        • behaviors
        • operations
      • highcharts
      • maskInput
      • maskmoney
      • modal
      • multiselect
      • rangeslider
      • redactor
      • select2
      • sparklines
      • switch
      • timeago
      • timepicker
      • toggle
      • typeahead

Classes

  • WhSelect2

Class WhSelect2

CInputWidget
Extended by WhSelect2
Package: YiiWheels\widgets\select2
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at widgets/select2/WhSelect2.php

Methods summary

public
# init( )

Initializes the widget.

Initializes the widget.

public
# run( )

Runs the widget.

Runs the widget.

public
# renderField( )

Renders the select2 field

Renders the select2 field

public
# registerClientScript( )

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

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

Magic methods summary

Properties summary

public array $data
#

@param data for generating the list options (value=>display)

@param data for generating the list options (value=>display)

public string[] $events
#

the JavaScript event handlers.

the JavaScript event handlers.

public boolean $asDropDownList
#

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

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

public string $language
#

locale. Defaults to null. Possible values: "it"

locale. Defaults to null. Possible values: "it"

public array $pluginOptions
#

the plugin options

the plugin options

YiiWheels API documentation generated by ApiGen 2.8.0