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'
)
Описание
Remove a config key from a specific config layer.
Parameter
-
string
$key
-
config key
-
string
$layer
-
config layer
Return value
bool
-
Returns TRUE on success,
PEAR_Error on failure.
Throws
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Замечание
This function can not be called statically.