Config::writeConfig()

Config::writeConfig() -- Write container content to datasource

Synopsis

Описание

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

Возвращаемое значение

mixed - Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Throws

Заметка

Эта функция не должна вызываться статически.

Пример

This example shows how to convert a configuration from a php file which contains a php array to an xml file.

    Поддержать сайт на родительском проекте КГБ