\ReadHtmlCacheBehavior

系统行为扩展:静态缓存读取

Summary

Methods
Properties
Constants
__construct()
__get()
run()
checkHTMLCache()
No public properties found
No constants found
No protected methods found
$options
N/A
requireHtmlCache()
isEmptyAction()
No private properties found
N/A

Properties

$options

$options : 

Type

Methods

__construct()

__construct() 

架构函数

__get()

__get(  $name) 

Parameters

$name

run()

run(mixed  $params) : void

执行行为 run方法是Behavior唯一的接口

Parameters

mixed $params

行为参数

checkHTMLCache()

checkHTMLCache(string  $cacheFile = '', integer  $cacheTime = '') : boolean

检查静态HTML文件是否有效 如果无效需要重新更新

Parameters

string $cacheFile

静态文件名

integer $cacheTime

缓存有效期

Returns

boolean

requireHtmlCache()

requireHtmlCache() 

isEmptyAction()

isEmptyAction(  $module,   $action) 

Parameters

$module
$action