PEAR_Config::singleton PEAR_Config::toDefault

PEAR_Config

PEAR Manual


PEAR_Config::store

PEAR_Config::store() -- Stores configuration data in a layer

Synopsis

      require_once 'PEAR/config.php';
     

bool PEAR_Config::store ( string $layer = 'user' )

Description

Stores configuration data in a layer.

Parameter

string $layer

config layer to store

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Throws

Possible PEAR_Error values

Error code Error value Meaning Solution
"

Note

This function can not be called statically.



PEAR_Config::singleton PEAR_Config::toDefault

PEAR_Config

PEAR Manual