PEAR_Config::writeConfigFile()

PEAR_Config::writeConfigFile() -- Write data into config layer from file

Synopsis

require_once 'PEAR/config.php';

bool PEAR_Config::writeConfigFile ([string $file = NULL [, bool $layer = 'user']])

Beschreibung

Writes data into a config layer from a file.

Parameter

string $file

file to read from

boolean $layer

whether to overwrite existing data

Rückgabewert

bool - Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Fehler-Meldungen

Tabelle 28-1. Mögliche Fehler-Arten

Error codeError valueMeaningSolution
 „“  

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.