array Config_Container::toArray (
( void
)
このメソッドは、Config ツリーを配列形式で返します。その書式は
<?php
$section[directive][index] = value
?>
Config_Container ツリーを配列形式で返します。
This function can not be called statically.
toArray()() の使用例
<?php
$attributes = array('id' => 'db', 'language' => 'en');
$section =& new Config_Container('section', 'main', null, $attributes);
$section->createDirective('authentication', 'one', array('type' => 'mysql'));
$section->createDirective('authentication', 'two', array('type' => 'oracle'));
$section->createDirective('permission', 'group');
var_dump($section->toArray());
?>
同名の属性やディレクティブが含まれる結果の配列
NPO法人とはという基本的内容から実際のNPO法人設立まで広くお手伝いいたします。これからNPO法人をお考えの方はオススメ。NPO法人とはNon Profit Organizationの略であり、特定非営利活動法人を指します。法人なので当然に登記され、独立した人格として活動ができるようになります。