PEAR Manual
Prev |  | Next

# PEAR_Config::isDefinedLayer()

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

## Synopsis

    require_once 'config.php';

``bool PEAR_Config::isDefinedLayer` (string $layer)`

## Description

Tells whether a given config layer exists.

## Parameter

string `$layer`

  config layer

## Return value

`bool` - whether `$layer` exists in this object

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::isDefined() | Up | PEAR_Config::mergeConfigFile()