Config::writeConfig()
Description
This method will call the root Config_Container::writeDatasrc() method which in turn will try to write the Config contents to the datasource.
Parameter
- mixed $datasrc
Datasource to write to
- string $configType
Type of configuration for writer
- array $options
Options for writer
Example
This example shows how to convert a configuration from a php file which contains a php array to an xml file.
Example 37-1. Using writeConfig()
|
