Class X2WidgetBehavior
Adds namespace mechanism, packages, and JS class instantiation to children of CWidget
- CComponent
- CBehavior implements IBehavior
- X2WidgetBehavior
public
|
|
public
|
#
attach( CComponent $owner )
Attaches the behavior object to the component. The default implementation
will set the owner property and attach event handlers as declared in
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
public
|
|
public
|
detach(),
events(),
getEnabled(),
getOwner(),
setEnabled()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
string |
NAMESPACE_KEY
|
'_x2widget_namespace' |
public
string
|
$element |
|
#
$element |
public
string
|
$JSClass | 'Widget' |
#
$JSClass |
public
boolean
|
$instantiateJSClassOnInit | false |
#
$instantiateJSClassOnInit |
public
boolean
|
$checkIfJSClassIsDefined | false |
|
public
string
|
$namespace | '' |
#
$namespace |
protected
mixed
|
$_packages |
|
|
protected
mixed
|
$_translations |
|
|
protected
mixed
|
$_JSClassParams |
|
$enabled,
$owner
|