PEAR Manual
Prev |  | Next

# Config::isConfigTypeRegistered()

Config::isConfigTypeRegistered() -- Returns `TRUE` if container is registered

## Synopsis

    require_once 'Config.php';

``bool Config::isConfigTypeRegistered` (string $configType)`

## Description

This method checks if the required container type exists in `$GLOBALS['CONFIG_TYPES']`.

## Parameter

string `$configType`

  Type of config (php array, xml, inifile...)

## Return value

`bool` - `TRUE` if registered, `FALSE` otherwise.

## Note

This function can not be called statically.

Prev | Home | Next
Config::getRoot() | Up | Config::parseConfig()