PEAR Manual
Prev |  | Next

# PEAR_Config::getSetValues()

PEAR_Config::getSetValues() -- Get the list of allowed set values for a config value

## Synopsis

    require_once 'PEAR/config.php';

``array PEAR_Config::getSetValues` (string $key)`

## Description

Get the list of allowed set values for a config value. Returns NULL for config values that are not sets.

## Parameter

string `$key`

  config key

## Return value

`array` - enumerated array of set values, or NULL if the config key is unknown or not a set

## Note

This function can not be called statically.

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