Méthode | Description | |
---|---|---|
__construct ( ) | +---------------------------------------------------------- 架构函数 +---------------------------------------------------------- | |
getSign ( $tagName ) | ||
getTagInfo ( unknown_type $sign ) | 查找模块在数据库中是否存在 | |
getTplContent ( $tpl, $tagName, $sign ) | ||
init ( ) | 服务初始化 | |
parse ( $content, $replace = true, $scope = false ) | 解析并得到替换后的内容 解析整个字符串中的标签 用于预览功能 | |
parseId ( unknown_type $content, unknown_type $cacheOpen = true ) : mixed | 解析已有的模块 | |
pregReplace ( $tag, $replace = true ) | 直接解析某一个标签 | |
run ( ) | 运行服务,系统服务自动运行 | |
setContent ( $content, $sign ) |
Méthode | Description | |
---|---|---|
parseTagAttr ( $attr ) | ||
parseTagContent ( unknown_type $source ) | 编译并返回内容 | |
pregReplaceTag ( unknown_type $tagName, unknown_type $path, unknown_type $content, unknown_type $replace = true ) : mixed | 匹配内容并 编译返回HTMl内容 | |
traversalDir ( $path ) |
public __construct ( ) |
public getTagInfo ( unknown_type $sign ) | ||
$sign | unknown_type |
public parse ( $content, $replace = true, $scope = false ) | ||
$content | string |