Class GridViewDbSettingsBehavior
Manages storage and retrieval of grid view settings. Settings are stored in
the generalGridViewSettings attribute of the user's profile record. Grid view
column settings and data provider results per page are not managed by this
class.
-
CComponent
-
CBehavior
implements
IBehavior
-
X2Settings
-
GridViewDbSettingsBehavior
Methods summary
public
boolean
|
#
saveSetting( string $key, string $val )
Parameters
- $key
string $uid The UID of the grid view
- $val
string key the setting name
Returns
boolean true for success, false otherwise
|
public
mixed
|
#
getSetting( string $key )
Parameters
- $key
string $uid The UID of the grid view
Returns
mixed The value of the gv setting
|
Methods inherited from CBehavior
attach(),
detach(),
events(),
getEnabled(),
getOwner(),
setEnabled()
|
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 properties inherited from CBehavior
$enabled,
$owner
|