Config_Container::
Config_Container
(Previous)
(Next) Config_Container::
countChildren

Last updated: Sun, 16 May 2004

Config_Container::addItem()

Config_Container::addItem() -- Add item to this item.

Описание

This method will add a Config_Container child to the current container children. Thus, addItem() can only be called one a section type container. If a position is specified, the object will be added at this position. If 'before' or 'after' are specified as position, a target object is required. The object will then be added before or after the target object position in the current container.

Параметр

object &$item

a container object

string $where

choose a position 'bottom', 'top', 'after', 'before'

object $target

needed if you choose 'before' or 'after' in $where. $target must be one of this container's children. ZendEngine2 will accept references with default. It will then be possible to have &$target instead.

Возвращаемое значение

object - A reference to the added object

Заметка

Эта функция не должна вызываться статически.

Config_Container::
Config_Container
(Previous)
(Next) Config_Container::
countChildren

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ