PEAR_Config::removeLayer() – Temporarily remove an entire config layer


require_once 'PEAR/config.php';

bool PEAR_Config::removeLayer ( string $layer )


Temporarily remove an entire config layer. USE WITH CARE!


string $layer

config key

Return value

bool - Returns TRUE on success, FALSE on failure.


This function can not be called statically.

Remove a config key from a config layer (Previous) Set config value in specific layer (Next)
Last updated: Sun, 15 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.