Class TApplicationStateCacheDependency
TApplicationStateCacheDependency class.
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.
- TComponent
-
TCacheDependency implements ICacheDependency
-
TApplicationStateCacheDependency
Package: System\Caching
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.1.0
Located at Caching/TCache.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.1.0
Located at Caching/TCache.php
public
boolean
|
#
getHasChanged( )
Performs the actual dependency checking. This method returns true if the currently running application is not in performance mode. |
GLOBAL_RAISE_EVENT_LISTENER
|