Method | Description | |
---|---|---|
TranslateSettingName ( $p_varName ) : mixed | Translates the given setting variable name into the form namespace and var name. | |
getAllSettings ( ) : array | Gets all the configuration settings | |
getSetting ( $p_varName ) : mixed | Gets a setting var value from configuration. | |
singleton ( string $p_configFile = null ) : object | Builds an instance object of this class only if there is no one. |
Method | Description | |
---|---|---|
__construct ( string $p_configFile = null ) | Class constructor |
public static TranslateSettingName ( $p_varName ) : mixed | ||
return | mixed | null If the given value is not appropriate settingVar An array containing the namespace and variable actual name |
public getAllSettings ( ) : array | ||
return | array | m_config The array of settings |
public getSetting ( $p_varName ) : mixed | ||
$p_varName | The name of the setting variable | |
return | mixed | null Var name passed is no valid mixed The value of the setting variable |