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' )

Description

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

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function can not be called statically.

readFTPConfigFile (Previous) Temporarily remove an entire config layer (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.