Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
__construct ( string $p_configFile = null ) | Class constructor |
public static TranslateSettingName ( $p_varName ) : mixed | ||
Результат | mixed | null If the given value is not appropriate settingVar An array containing the namespace and variable actual name |
public getAllSettings ( ) : array | ||
Результат | array | m_config The array of settings |
public getSetting ( $p_varName ) : mixed | ||
$p_varName | The name of the setting variable | |
Результат | mixed | null Var name passed is no valid mixed The value of the setting variable |