\app\common\modelConfig

配置模型

Summary

Methods
Properties
Constants
getTypeList()
getRegexList()
getExtendHtmlAttr()
getGroupList()
getArrayData()
decode()
encode()
upload()
refreshFile()
No public properties found
No constants found
No protected methods found
$name
$autoWriteTimestamp
$createTime
$updateTime
$append
$type
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

Type

$autoWriteTimestamp

$autoWriteTimestamp : 

Type

$createTime

$createTime : 

Type

$updateTime

$updateTime : 

Type

$append

$append : 

Type

$type

$type : 

Type

Methods

getTypeList()

getTypeList() : array

读取配置类型

Returns

array

getRegexList()

getRegexList() 

getExtendHtmlAttr()

getExtendHtmlAttr(  $value,   $data) 

Parameters

$value
$data

getGroupList()

getGroupList() : array

读取分类分组列表

Returns

array

getArrayData()

getArrayData(  $data) 

Parameters

$data

decode()

decode(string  $text,   $split = "\r\n") : array

将字符串解析成键值数组

Parameters

string $text
$split

Returns

array

encode()

encode(array  $array,   $split = "\r\n") : string

将键值数组转换为字符串

Parameters

array $array
$split

Returns

string

upload()

upload() : array

本地上传配置信息

Returns

array

refreshFile()

refreshFile() 

刷新配置文件