src/PEAR/Config.php
function getType($key)
    {
        if (isset($this->configuration_info[$key])) {
            return $this->configuration_info[$key]['type'];
        }
        return false;
    }
function getType($key)
    {
        if (isset($this->configuration_info[$key])) {
            return $this->configuration_info[$key]['type'];
        }
        return false;
    }
Get the type of a config value.

@param string  config key

@return string type, one of "string", "integer", "file",
"directory", "set" or "password".

@access public