previousConfig::Config (Previous) (Next) Config::isConfigTypeRegisterednext

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

Config::getRoot

Config::getRoot() – Return root container for config object

Synopsis

require_once 'Config.php';

object &Config::getRoot ( ( void )

Description

This method returns a reference to the root Config_Container object in the Config object. Use the returned Config_Container object reference to manipulate your configuration data.

Return value

object - a reference to config's root container object

Note

This function can not be called statically.

Example

Using getRoot()

<?php
$config 
= new Config();
$root =& $config->getRoot();
?>
previousConfig::Config (Previous) (Next) Config::isConfigTypeRegisterednext

Download Documentation Last updated: Tue, 02 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.