PEAR Manual
Prev |  | Next

# PEAR_Config::isDefined()

PEAR_Config::isDefined() -- Tells whether a key exists as config value

## Synopsis

    require_once 'PEAR/config.php';

``bool PEAR_Config::isDefined` (string $key)`

## Description

Tells whether a given key exists as a config value.

## Parameter

string `$key`

  config key

## Return value

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

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::getType() | Up | PEAR_Config::isDefinedLayer()