Config_Container::toArray()

Config_Container::toArray() -- Return key/value pair array of container and its children

Synopsis

require_once 'Config/Container.php';

array Config_Container::toArray (void)

Описание

This method returns an array representation of the Config tree. The format is
$section[directive][index] = value
If the container has attributes, it will use '@' as key for attributes and '#' for values. index is here because multiple directives and sections can have the same name, the toArray() method takes care of that.

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

array - an array representation of the Config_Container tree

Заметка

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

Пример


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