Class MOXMAN_Util_IniParser
Inheritance | MOXMAN_Util_IniParser |
---|
This class is used to parse ini files either from a string or a file.
Public Methods
Method | Description | Defined By |
---|---|---|
getItems() | Returns the ini items where some item values will be arrays if they where declared in sections. | MOXMAN_Util_IniParser |
load() | Loads and parses the specified file by path. | MOXMAN_Util_IniParser |
parse() | Parses the specified ini file string. | MOXMAN_Util_IniParser |
Method Details
Returns the ini items where some item values will be arrays if they where declared in sections.
public Array getItems ( ) | ||
return | Array | Name/value array of config items. |
---|
Loads and parses the specified file by path.
public void load ( $path ) | ||
$path | string | File path to ini file to parse. |
Parses the specified ini file string.
public void parse ( $str ) | ||
$str | string | String to parse. |