\think\template\driverFile

Summary

Methods
Properties
Constants
write()
read()
check()
No public properties found
No constants found
No protected methods found
$cacheFile
N/A
No private methods found
No private properties found
N/A

Properties

$cacheFile

$cacheFile : 

Type

Methods

write()

write(string  $cacheFile, string  $content) : void|array

写入编译缓存

Parameters

string $cacheFile

缓存的文件名

string $content

缓存的内容

Returns

void|array

read()

read(string  $cacheFile, array  $vars = array()) : void

读取编译编译

Parameters

string $cacheFile

缓存的文件名

array $vars

变量数组

check()

check(string  $cacheFile, integer  $cacheTime) : boolean

检查编译缓存是否有效

Parameters

string $cacheFile

缓存的文件名

integer $cacheTime

缓存时间

Returns

boolean