"Fossies" - the Fresh Open Source Software Archive

Member "yii-docs-1.1.24.a5ab20/api/ICacheDependency.html" (7 Jun 2021, 6030 Bytes) of package /linux/www/yii-docs-1.1.24.a5ab20.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

Yii Framework v1.1.24 Class Reference

ICacheDependency

Package system.caching
Inheritance interface ICacheDependency
Subclasses CCacheDependency, CChainedCacheDependency, CDbCacheDependency, CDirectoryCacheDependency, CExpressionDependency, CFileCacheDependency, CGlobalStateCacheDependency
Since 1.0
Source Code framework/base/interfaces.php
ICacheDependency is the interface that must be implemented by cache dependency classes.

This interface must be implemented by classes meant to be used as cache dependencies.

Objects implementing this interface must be able to be serialized and unserialized.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
evaluateDependency() Evaluates the dependency by generating and saving the data related with dependency. ICacheDependency
getHasChanged() Returns whether the dependency has changed. ICacheDependency

Method Details

evaluateDependency() method
abstract public void evaluateDependency()
Source Code: framework/base/interfaces.php#116 (show)
public function evaluateDependency();

Evaluates the dependency by generating and saving the data related with dependency. This method is invoked by cache before writing data into it.

getHasChanged() method
abstract public boolean getHasChanged()
{return} boolean whether the dependency has changed.
Source Code: framework/base/interfaces.php#120 (show)
public function getHasChanged();

© 2008-2013 by Yii Software LLC
All Rights Reserved.