PHP Class Prado\Web\UI\WebControls\TOutputCacheCheckDependencyEventParameter

TOutputCacheCheckDependencyEventParameter encapsulates the parameter data for OnCheckDependency event of {@link TOutputCache} control.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
Datei anzeigen Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
getCacheTime ( ) : integer
getIsValid ( ) : boolean
setCacheTime ( $value )
setIsValid ( $value )

Method Details

getCacheTime() public method

Since: 3.1.1
public getCacheTime ( ) : integer
return integer the timestamp of the cached result. You may use this to help determine any dependency is changed.

getIsValid() public method

public getIsValid ( ) : boolean
return boolean whether the dependency remains valid. Defaults to true.

setCacheTime() public method

Since: 3.1.1
public setCacheTime ( $value )

setIsValid() public method

public setIsValid ( $value )