object &Config::getRoot (
void
)
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.
object
-
a reference to config's root container object
This function can not be called statically.
Using getRoot()
<?php
$config = new Config();
$root =& $config->getRoot();
?>