PHP Класс Prado\Caching\TApplicationStateCacheDependency

TApplicationStateCacheDependency performs dependency checking based on the mode of the currently running PRADO application. The dependency is reportedly as unchanged if and only if the application is running in performance mode. You may chain this dependency together with other dependencies so that only when the application is not in performance mode the other dependencies will be checked.
С версии: 3.1.0
Автор: Qiang Xue ([email protected])
Наследование: extends TCacheDependency
Показать файл Открыть проект

Открытые методы

Метод Описание
getHasChanged ( ) : boolean Performs the actual dependency checking.

Описание методов

getHasChanged() публичный Метод

This method returns true if the currently running application is not in performance mode.
public getHasChanged ( ) : boolean
Результат boolean whether the dependency is changed or not.