Config_Container::writeDatasrc()

Config_Container::writeDatasrc() -- Write item to file

Synopsis

require_once 'Config/Container.php';

boolean Config_Container::writeDatasrc (mixed $datasrc, string $configType [, array $options = array()])

Описание

By default, this method will write a new string generated with the toString() method to a file. If a writeDatasrc() method exists in the chosen config type, this method will be called instead. This allows for more flexibility and makes it possible to add your own save handlers.

Параметр

mixed $datasrc

Info on datasource such as path to the configuraton file or dsn...

string $configType

Type of configuration

array $options

Options for writer

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

boolean - TRUE on success

Throws

Таблица 32-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

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


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ