PEAR_Config::isDefinedLayer() – Tells whether a config layer exists


require_once 'config.php';

bool PEAR_Config::isDefinedLayer ( string $layer )


Tells whether a given config layer exists.


string $layer

config layer

Return value

bool - whether $layer exists in this object


This function can not be called statically.

Tells whether a key exists as config value (Previous) Merges data into a config layer from a file (Next)
Last updated: Fri, 27 Nov 2015 — 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:

User Notes:

There are no user contributed notes for this page.