Property | Type | Description | |
---|---|---|---|
$config | null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml |
Method | Description | |
---|---|---|
__construct ( string $filename = null ) | ||
getConfig ( ) : null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml |
Method | Description | |
---|---|---|
detectConfigType ( string $filename ) : string | Detect config type based on file extension | |
loadIniConfig ( string $filename, string $section, boolean $allowOverride ) | Load a Ini config file | |
loadPhpConfig ( string $filename, boolean $allowOverride ) | Load a PHP config file | |
loadXmlConfig ( string $filename, string $section, boolean $allowOverride ) | Load a XML config file | |
searchConfigFile ( ) : null | string |
public __construct ( string $filename = null ) | ||
$filename | string | optional config file |
protected detectConfigType ( string $filename ) : string | ||
$filename | string | |
return | string |
protected loadPhpConfig ( string $filename, boolean $allowOverride ) | ||
$filename | string | Path to config file to load |
$allowOverride | boolean |
protected searchConfigFile ( ) : null | string | ||
return | null | string |
protected null|Zend_Config|Zend_Config_Ini|Zend_Config_Xml $config | ||
return | null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml |