PEAR_Config::remove()
PEAR_Config::remove() -- Remove a config key from a config layer
概要
require_once 'PEAR/config.php'; |
bool PEAR_Config::remove (string $key [, string $layer = 'user'])
説明
Remove a config key from a specific config layer.
パラメータ
- string
$key
config key
- string
$layer
config layer
返り値
bool -
成功時には TRUE、
失敗時には PEAR_Error を返します。
例外・エラー
表 27-1PEAR_Error の値
| Error code | Error value | Meaning | Solution |
|---|
| | "" | | |
注意
この関数は、スタティックにコールする
ことはできません。