previousConfig::registerConfigType (Previous) (Next) Config::writeConfignext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Config::setRoot

Config::setRoot() – オブジェクトのルートコンテントを設定する

Synopsis

require_once 'Config.php';

mixed Config::setRoot ( object &$rootContainer )

Description

この関数は、現在の総ての子とルート Config_Container オブジェクトを与えられたオブジェクトに交換をします。

Parameter

object $rootContainer

一番最初のルートとしてのコンテナ

Return value

boolean - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

Example

setRoot() の使い方

<?php
$container 
=& new Config_Container('section''conf');

$config = new Config();
$root =& $config->setRoot($container);
?>
previousConfig::registerConfigType (Previous) (Next) Config::writeConfignext

Download Documentation Last updated: Sun, 21 Jun 2009
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.