Config_Container::getContent (Previous) (Next) Config_Container::getItemIndex

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Config_Container::getItem()

Config_Container::getItem() -- Tries to find specific items

Beschreibung

This method tries to find the items that respond to the specified parameters.

This method can only be called on an object of type 'section'. Note that root is a section. This method is not recursive and tries to keep the current structure.

Parameter

string $type

type of item: directive, section, comment, blank...

string $name

item name

mixed $content

find item with this content

array $attributes

find item with attribute set to the given value

integer $index

index of the item in the returned object list. If it is not set, will try to return the last item with this name.

Rückgabewert

mixed - reference to item found or FALSE when not found

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Config_Container::getContent (Previous) (Next) Config_Container::getItemIndex

Download Documentation Last updated: Sun, 28 Sep 2008
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.