PEAR_Config::removeLayer (Previous) (Next) PEAR_Config::setChannels

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Config::set()

PEAR_Config::set() -- Set config value in specific layer

Description

Set a config value in a specific layer (defaults to 'user'). Enforces the types defined in the configuration_info array. An integer config variable will be cast to int, and a set config variable will be validated against its legal values.

Parameter

string $key

config key

string $value

config value

string $layer

config layer

Return value

bool - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

PEAR_Config::removeLayer (Previous) (Next) PEAR_Config::setChannels

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.