Config_Container::createSection()

Config_Container::createSection() -- Add section to item

Synopsis

require_once 'Config/Container.php';

objectConfig_Container::createSection (string $name [, array $attributes = NULL [, string $where = 'bottom' [, object $target = NULL]]])

Описание

Must be called on a section. This is a helper method that calls createItem()

Параметр

string $name

Name of new section

array array $attributes

Section attributes

string $where

Where to create the new item ('top', 'bottom', 'before', 'after')

object $target

Required only if 'before' or 'after' is used for $where

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

object - reference to new item

Throws

Таблица 32-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

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

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ