PEAR_Config::remove()

PEAR_Config::remove() -- Remove a config key from a config layer

Synopsis

require_once 'PEAR/config.php';

bool PEAR_Config::remove (string $key [, string $layer = 'user'])

Beschreibung

Remove a config key from a specific config layer.

Parameter

string $key

config key

string $layer

config layer

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.