Config::writeConfig()
Описание
This method will call the root Config_Container::writeDatasrc() method which in turn will try to write the Config contents to the datasource.
Параметр
- mixed $datasrc
Datasource to write to
- string $configType
Type of configuration for writer
- array $options
Options for writer
Пример
This example shows how to convert a configuration from a php file which contains a php array to an xml file.
Пример 33-1. Using writeConfig()
|
Пред. | Начало | След. |
Config::setRoot() | Уровень выше | Config_Container::Config_Container() |