Class MOXMAN_Util_IniParser

InheritanceMOXMAN_Util_IniParser

This class is used to parse ini files either from a string or a file.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

getItems() public method

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.

load() public method

Loads and parses the specified file by path.

public void load ( $path )
$path string

File path to ini file to parse.

parse() public method

Parses the specified ini file string.

public void parse ( $str )
$str string

String to parse.