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

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

Config_Container::toArray()

Config_Container::toArray() -- コンテナとその子要素を、キー/値のペアによる配列で返す

説明

このメソッドは、Config ツリーを配列形式で返します。その書式は


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

となります。コンテナが属性を保持している場合は、属性のキーに '@'、属性の値に '#' を使用します。 インデックスがここにある理由は、 同名のディレクティブやセクションが複数存在する可能性があるためです。 toArray() メソッドは、そのような場合も想定しています。

返り値

Config_Container ツリーを配列形式で返します。

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 31 Aug 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.