PHP Class think\template\driver\File

Afficher le fichier Open project: top-think/framework

Méthodes publiques

Méthode Description
check ( string $cacheFile, integer $cacheTime ) : boolean 检查编译缓存是否有效
read ( string $cacheFile, array $vars = [] ) : void 读取编译编译
write ( string $cacheFile, string $content ) : void | array 写入编译缓存

Method Details

check() public méthode

检查编译缓存是否有效
public check ( string $cacheFile, integer $cacheTime ) : boolean
$cacheFile string 缓存的文件名
$cacheTime integer 缓存时间
Résultat boolean

read() public méthode

读取编译编译
public read ( string $cacheFile, array $vars = [] ) : void
$cacheFile string 缓存的文件名
$vars array 变量数组
Résultat void

write() public méthode

写入编译缓存
public write ( string $cacheFile, string $content ) : void | array
$cacheFile string 缓存的文件名
$content string 缓存的内容
Résultat void | array