PEAR_Config::writeConfigFile()

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

Referentiesamenvatting

require_once 'PEAR/config.php';

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

Beschrijving

Writes data into a config layer from a file.

Parameter

string $file

file to read from

boolean $layer

whether to overwrite existing data

Return waarde

bool - Geeft TRUE terug bij success, PEAR_Error als het faalt.

Throws

Tabel 28-1. Mogelijke PEAR_Error waarden

Error codeError valueMeaningSolution
 ""  

Note

Deze functie kan niet statisch worden aangeroepen.