PEAR Manual
Prev |  | Next

# 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

Table 27-1. Possible PEAR_Error values

Error code | Error value | Meaning | Solution
--- | --- | --- | ---
| "" |  |

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::singleton() | Up | PEAR_Config::toDefault()