PEAR Manual
Prev |  | Next

# Config_Container::updateAttributes()

Config_Container::updateAttributes() -- Update item attributes

## Synopsis

    require_once 'Config/Container.php';

```void` Config_Container::updateAttributes` (array $attributes)`

## Description

If the specified attributes are already set, they are overwritten. New attributes are set. The ones that are not set in the given parameter array are left untouched.

## Parameter

array `$attributes`

  Array of attributes

## Throws

Table 31-1. Possible PEAR_Error values

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

## Note

This function can not be called statically.

Prev | Home | Next
Config_Container::toString() | Up | Config_Container::writeDatasrc()