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


require_once 'PEAR/config.php';

string PEAR_Config::getType ( string $key )


Get the type of a config value.


string $key

config key

Return value

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


This function can not be called statically.

Get the list of allowed set values for a config value (Previous) Tells whether a key exists as config value (Next)
Last updated: Sun, 19 Feb 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.