\ParseTemplateBehavior

系统行为扩展:模板解析

Summary

Methods
Properties
Constants
__construct()
__get()
run()
No public properties found
No constants found
checkCache()
checkContentCache()
$options
N/A
No private methods found
No private properties found
N/A

Properties

$options

$options : 

Type

Methods

__construct()

__construct() 

架构函数

__get()

__get(  $name) 

Parameters

$name

run()

run(  $_data) : void

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

Parameters

$_data

checkCache()

checkCache(string  $tmplTemplateFile,   $prefix = '') : boolean

检查缓存文件是否有效 如果无效则需要重新编译

Parameters

string $tmplTemplateFile

模板文件名

$prefix

Returns

boolean

checkContentCache()

checkContentCache(string  $tmplContent,   $prefix = '') : boolean

检查缓存内容是否有效 如果无效则需要重新编译

Parameters

string $tmplContent

模板内容

$prefix

Returns

boolean