IniParser
Documentation
Constructor
void IniFile::__construct ([ string $file_path ])
Takes one optional parameter, the path to the configuration file to load.
Change The Markers
void IniFile::delimiter ([ string $str ])
Sets the key/value pair delimiter. The default is "=".
void IniFile::comment ([ string $str ])
Sets the comment marker. The default is ";".
Change Options
The option method controls how the parser works.
void IniFile::delimiter ( int $option, bool $flag )
File Reading
void IniFile::refresh ( void )
Re-reads/parses the configuration file.
void IniFile::set_path ([ string $file_path ])
Changes the file path to $file_path and calls $this->refresh();