Config_Container::setAttributes() – Set item attributes


require_once 'Config/Container.php';

void Config_Container::setAttributes ( array $attributes )


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.


array $attributes

Array of attributes


This function can not be called statically.

Finds a node using XPATH like format (Previous) Set item content (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.