PHP 클래스 think\template\driver\File

파일 보기 프로젝트 열기: top-think/framework

공개 메소드들

메소드 설명
check ( string $cacheFile, integer $cacheTime ) : boolean 检查编译缓存是否有效
read ( string $cacheFile, array $vars = [] ) : void 读取编译编译
write ( string $cacheFile, string $content ) : void | array 写入编译缓存

메소드 상세

check() 공개 메소드

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

read() 공개 메소드

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

write() 공개 메소드

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