Class X2Settings
Manages storage and retrieval of settings.
- CComponent
- CBehavior implements IBehavior
- X2Settings
Abstract
Package: application\components\X2Settings
Located at x2engine/protected/components/X2Settings/X2Settings.php
Package: application\components\X2Settings
Located at x2engine/protected/components/X2Settings/X2Settings.php
abstract public
boolean
|
|
abstract public
mixed
|
|
public
string
|
#
getStatePrefix( )
state prefix defaults to uid or uid constructed from path and model id. It might be better to call this getUID since the state prefix isn't actually a prefix, it is the key in its entirety. |
attach(),
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()
|
public
string|null
|
$uid | null |
#
$uid Allows state prefix to be explicitly set |
public
string
|
$modelClass |
|
#
$modelClass class of model for which settings are being saved/retrieved |
$enabled,
$owner
|