PEAR Manual
Prev |  | Next

# PEAR_Config::removeLayer()

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

## Synopsis

    require_once 'PEAR/config.php';

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

## Description

Temporarily remove an entire config layer. USE WITH CARE!

## Parameter

string `$layer`

  config key

## Return value

`bool` - Returns `TRUE` on success, `FALSE` on failure.

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::remove() | Up | PEAR_Config::set()