|
Yaf_Config_Ini::toArrayExport configuration as array Description
public array Yaf_Config_Ini::toArray()
Returns the entire configuration as a plain PHP array. ParametersThis function has no parameters. Return ValuesThe configuration data as an array. ExamplesExample #1 Yaf_Config_Ini::toArray example The above example will output something similar to:
Array
(
[application] => Array
(
[name] => MyApp
)
[database] => Array
(
[host] => localhost
[port] => 3306
)
)
See Also
|