\SConfig

Summary

Methods
Properties
Constants
getConfig()
parse()
$CACHE
No constants found
No protected methods found
No protected properties found
N/A
_tmpData()
_getKV()
_split()
_tmpDir()
$_tmpData
$_tmpPrefix
$_tmpIndex
$_result
N/A

Properties

$CACHE

$CACHE : 

Type

$_tmpData

$_tmpData : 

Type

$_tmpPrefix

$_tmpPrefix : 

Type

$_tmpIndex

$_tmpIndex : 

Type

$_result

$_result : 

Type

Methods

getConfig()

getConfig(string  $configFile,   $zone = null) : mixed

支持新的conf配置格式(类似nginx的配置)

Parameters

string $configFile
$zone

Returns

mixed —

$result

parse()

parse(  $configFile) 

Parameters

$configFile

_tmpData()

_tmpData(  $matches) 

Parameters

$matches

_getKV()

_getKV(  $string) 

Parameters

$string

_split()

_split(  $string,   $result) 

Parameters

$string
$result

_tmpDir()

_tmpDir()