|
Yaf_Application::getConfigRetrieve the config instance Description
public Yaf_Config_Abstractnull Yaf_Application::getConfig()
Retrieve the Yaf_Config_Abstract instance holding the application configuration passed to the constructor. ParametersThis function has no parameters. Return Values
A Yaf_Config_Abstract instance (a
Yaf_Config_Simple object when an array is
passed to the constructor, a
Yaf_Config_Ini object when an INI file is
passed), or ExamplesExample #1 Yaf_Application::getConfig example The above example will output something similar to:
Yaf_Config_Simple Object
(
[_config:protected] => Array
(
[application] => Array
(
[directory] => /home/laruence/local/www/htdocs/application
)
)
[_readonly:protected] => 1
)
|