Property | Type | Description | |
---|---|---|---|
$attr | 模板文件名 | ||
$sign | 缓存文件路径 | ||
$templateFile | |||
$tmplCacheFile | 如果是嵌套格式,则为内部数据 | ||
$value | 属性 |
Method | Description | |
---|---|---|
getTemplateFile ( $tpl = '' ) | 解析 | |
parseTag ( unknown_type $attr, unknown_type $value = '', unknown_type $tagInfo ) : string | 保存模块数据到数据库 | |
replace ( ) | 替换 | |
replaceTag ( unknown_type $attr, unknown_type $value = '', unknown_type $tagInfo ) : Ambigous | 编译并返回内容 |
Method | Description | |
---|---|---|
init ( unknown_type $attr, unknown_type $value = '' ) | 参数赋值 | |
replaceContent ( $content ) |
protected init ( unknown_type $attr, unknown_type $value = '' ) | ||
$attr | unknown_type | |
$value | unknown_type |
public replaceTag ( unknown_type $attr, unknown_type $value = '', unknown_type $tagInfo ) : Ambigous | ||
$attr | unknown_type | |
$value | unknown_type | |
$tagInfo | unknown_type | |
return | Ambigous |