dmBridge PHP API
DMConfigIni Class Reference

Manages all configuration operations involving the config.ini file. More...

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Manages all configuration operations involving the config.ini file.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMConfigIni.php.


Constructor & Destructor Documentation

DMConfigIni::__construct ( ini_file_pathname) [protected]
Parameters:
stringini_file_pathname

Definition at line 65 of file DMConfigIni.php.


Member Function Documentation

static DMConfigIni::destroyInstance ( DMConfigIni instance) [static]
Parameters:
DMConfigIniinstance
Returns:
void

Definition at line 53 of file DMConfigIni.php.

DMConfigIni::getBoolean ( key)
Parameters:
stringkey
Returns:
string The boolean value corresponding to key $key, or null if not found.

Definition at line 77 of file DMConfigIni.php.

DMConfigIni::getString ( key)
Parameters:
stringkey
Returns:
string The string corresponding to key $key, or null if not found.

Definition at line 123 of file DMConfigIni.php.

DMConfigIni::setBoolean ( key,
value 
)

Sets or overrides a config setting.

Parameters:
stringkey
booleanvalue

Definition at line 97 of file DMConfigIni.php.

DMConfigIni::setString ( key,
value 
)

Sets or overrides a config setting.

Parameters:
stringkey
stringvalue

Definition at line 137 of file DMConfigIni.php.

DMConfigIni::unsetKey ( key)

Unsets a config setting.

Parameters:
stringkey

Definition at line 109 of file DMConfigIni.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables