Config_Container::setAttributes()

Config_Container::setAttributes() -- Set item attributes

Synopsis

require_once 'Config/Container.php';

void Config_Container::setAttributes (array $attributes)

Description

Attributes are stored in an array. They are used in some containers like PHP Array, XML, Apache. In IniFile or IniCommented containers, attributes are not used. See examples in getAttributes() method to have an idea of the attributes output. This method will replace existing attributes. Use updateAttributes() if you just want to change some of them.

Parameter

array $attributes

Array of attributes

Note

This function can not be called statically.