Config_Container::setContent (Previous) (Next) Config_Container::setName

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Config_Container::setDirective()

Config_Container::setDirective() -- Set child directive content or create new directive

Beschrijving

This is an helper method that will first try to find the item with the desired name using getItem(). If the item is found, it will call its setContent() method. If not, it will just create a new directive at the bottom with the given name and content.

Parameter

string $name

Name of the directive to look for

mixed $content

New content, usually a string

integer $index

Index of the directive to set, in case there are more than one directive with the same name

Return waarde

object - Newly set directive

Note

Deze functie kan niet statisch worden aangeroepen.

Config_Container::setContent (Previous) (Next) Config_Container::setName

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.