Class CChainedCacheDependency
CChainedCacheDependency represents a list of cache dependencies.
If any of the dependencies reports a dependency change, CChainedCacheDependency will return true for the checking.
To add dependencies to CChainedCacheDependency, use getDependencies
Dependencies which gives a CTypedList
instance and can be used like an
array (see CList
for more details}).
- CComponent
- CChainedCacheDependency implements ICacheDependency
Package: system\caching\dependencies
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/caching/dependencies/CChainedCacheDependency.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/caching/dependencies/CChainedCacheDependency.php
public
|
|
public
|
|
public
|
|
public
|
#
evaluateDependency( )
Evaluates the dependency by generating and saving the data related with dependency. |
public
boolean
|
#
getHasChanged( )
Performs the actual dependency checking. This method returns true if any of the dependency objects reports a dependency change. |
public
|
$dependencies |
#
List of dependency objects. |
public
boolean
|
$hasChanged |
#
Whether the dependency is changed or not. |