Class X2AuthCache
CApplicationComponent is the base class for application component classes.
CApplicationComponent implements the basic methods required by IApplicationComponent.
When developing an application component, try to put application component
initialization code in the X2AuthCache::init()
method instead of the constructor.
This has the advantage that the application component can be customized through
application configuration.
- CComponent
- CApplicationComponent implements IApplicationComponent
- X2AuthCache
Package: system\base
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/protected/components/X2AuthCache.php
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/protected/components/X2AuthCache.php
public
|
|
public
array
|
|
public
|
|
public
CDbConnection
|
|
protected
|
|
public
boolean
|
getIsInitialized()
|
__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
|
$connectionID |
|
#
the ID of the CDbConnection application component. |
public
string
|
$tableName | 'x2_auth_cache' |
#
the name of the auth cache table. |
public
integer
|
$gcProbability | 100 |
#
how often to garbage collect (delete expired values). GC is performed using an N-sided coin flip |
$behaviors
|
$isInitialized
|