PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
This method will call the root Config_Container::writeDatasrc() method which in turn will try to write the Config contents to the datasource.
Datasource to write to
Type of configuration for writer
Options for writer
mixed - Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.
This example shows how to convert a configuration from a php file which contains a php array to an xml file.
Beispiel 32-1. Using writeConfig()
|
Zurück | Zum Anfang | Nach vorne |
Config::setRoot() | Nach oben | Config_Container::Config_Container() |