PHP Class TagsAbstract, thinksns

Author: Stream
Afficher le fichier Open project: medz/thinksns-4

Protected Properties

Свойство Type Description
$attr 模板文件名
$sign 缓存文件路径
$templateFile
$tmplCacheFile 如果是嵌套格式,则为内部数据
$value 属性

Méthodes publiques

Méthode 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 编译并返回内容

Méthodes protégées

Méthode Description
init ( unknown_type $attr, unknown_type $value = '' ) 参数赋值
replaceContent ( $content )

Method Details

getTemplateFile() abstract public méthode

解析
abstract public getTemplateFile ( $tpl = '' )

init() protected méthode

参数赋值
protected init ( unknown_type $attr, unknown_type $value = '' )
$attr unknown_type
$value unknown_type

parseTag() public méthode

保存模块数据到数据库
public parseTag ( unknown_type $attr, unknown_type $value = '', unknown_type $tagInfo ) : string
$attr unknown_type
$value unknown_type
$tagInfo unknown_type
Résultat string

replace() abstract public méthode

替换
abstract public replace ( )

replaceContent() protected méthode

protected replaceContent ( $content )

replaceTag() public méthode

编译并返回内容
public replaceTag ( unknown_type $attr, unknown_type $value = '', unknown_type $tagInfo ) : Ambigous
$attr unknown_type
$value unknown_type
$tagInfo unknown_type
Résultat Ambigous |string

Property Details

$attr protected_oe property

模板文件名
protected $attr

$sign protected_oe property

缓存文件路径
protected $sign

$templateFile protected_oe property

protected $templateFile

$tmplCacheFile protected_oe property

如果是嵌套格式,则为内部数据
protected $tmplCacheFile

$value protected_oe property

属性
protected $value