PHP Class SConfig

Exibir arquivo Open project: hetao29/slightphp Class Usage Examples

Public Properties

Property Type Description
$CACHE

Public Methods

Method Description
getConfig ( string $configFile, $zone = null ) : mixed 支持新的conf配置格式(类似nginx的配置)
parse ( $configFile )
sys_get_temp_dir ( )

Private Methods

Method Description
_getKV ( $string )
_split ( $string, &$result )
_tmpData ( $matches )
_tmpDir ( )

Method Details

getConfig() public static method

支持新的conf配置格式(类似nginx的配置)
public static getConfig ( string $configFile, $zone = null ) : mixed
$configFile string
return mixed $result

parse() public static method

public static parse ( $configFile )

sys_get_temp_dir() public method

public sys_get_temp_dir ( )

Property Details

$CACHE public_oe static_oe property

public static $CACHE