Class ESelect2
Wrapper for ivaynberg jQuery select2 (https://github.com/ivaynberg/select2)
- CComponent
- CBaseController
- CWidget
- CInputWidget
- ESelect2
Author: Anggiajuang Patria <anggiaj@gmail.com>
Link: http://git.io/Mg_a-w
Located at anggiaj/eselect2/ESelect2.php
Methods summary
public
|
|
public
|
Methods inherited from CInputWidget
hasModel()
,
resolveNameID()
Methods inherited from CWidget
__construct()
,
actions()
,
getController()
,
getId()
,
getOwner()
,
getViewFile()
,
getViewPath()
,
render()
,
setId()
Methods inherited from CBaseController
beginCache()
,
beginClip()
,
beginContent()
,
beginWidget()
,
createWidget()
,
endCache()
,
endClip()
,
endContent()
,
endWidget()
,
renderFile()
,
renderInternal()
,
widget()
Methods inherited from CComponent
__call()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Properties summary
public
array
|
$options |
#
select2 options |
public
array
|
$data |
#
CHtml::dropDownList $data param |
public
string
|
$selector |
#
html element selector |
public
array
|
$events |
#
javascript event handlers |
public
boolean
|
$sortable |
#
should the items of a multiselect list be sortable using jQuery UI |
protected
array
|
$defaultOptions |
Properties inherited from CInputWidget
$attribute
,
$htmlOptions
,
$model
,
$name
,
$value
Properties inherited from CWidget
$actionPrefix
,
$skin
Magic properties inherited from CWidget
$controller
,
$id
,
$owner
,
$viewPath