Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

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.


PrevHomeNext
PEAR_Config::removeLayer()UpPEAR_Config::singleton()
 

 

 

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

Disclaimers: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://pear.php.net/manual/

Recommended Resources: