Config_Container::toArray

Config_Container::toArray()

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

Description

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.

Return value

array - an array representation of the Config_Container tree

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.