Config_Container::setType (Previous) (Next) Config_Container::toString

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

Config_Container::toArray()

Config_Container::toArray() -- Retourne un tableau avec un couple clé/valeur du conteneur et ses enfants

Description

Cette méthode retourne un tableau représentatif de l'arbre Config. Le format est :


<?php
$section[directive][index] = value
?>

Si le conteneur a des attributs, il utilisera '@' comme clé pour les attributs et '#' pour les valeurs. index est là parce que plusieures directives et sections peuvent avoir le même nom, la méthode toArray() en tient compte.

Valeur retournée

array - un tableau représentatif de l'arbre Config_Container

Note

Cette fonction ne peut pas être appelée de façon statique.

Config_Container::setType (Previous) (Next) Config_Container::toString

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.