Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • GridViewDbSettingsBehavior
  • GridViewSessionSettingsBehavior
  • X2Settings
  • Overview
  • Package
  • Class
  • Tree

Class GridViewSessionSettingsBehavior

Manages storage and retrieval of grid view settings. Settings are stored in the $_SESSION PHP superglobal. Grid view column settings and data provider results per page are not managed by this class.

CComponent
Extended by CBehavior implements IBehavior
Extended by X2Settings
Extended by GridViewSessionSettingsBehavior
Package: application\components\X2Settings
Located at x2engine/protected/components/X2Settings/GridViewSessionSettingsBehavior.php
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 null|mixed
# getSetting( string $key )

Parameters

$key
string
$uid The UID of the grid view

Returns

null|mixed
The value of the gv setting
Methods inherited from X2Settings
getStatePrefix()
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()
Properties inherited from X2Settings
$modelClass, $uid
Magic properties inherited from CBehavior
$enabled, $owner
X2CRM Documentation API documentation generated by ApiGen 2.8.0