PEAR Manual
Prev |  | Next

# PEAR_Config::getType()

PEAR_Config::getType() -- Get the type of a config value

## Synopsis

    require_once 'PEAR/config.php';

``string PEAR_Config::getType` (string $key)`

## Description

Get the type of a config value.

## Parameter

string `$key`

  config key

## Return value

`string` - type, one of "string", "integer", "file", "directory", "set" or "password".

## Note

This function can not be called statically.

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