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


require_once 'Config.php';

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.

Return value

object - a reference to config's root container object


This function can not be called statically.


Using getRoot()

= new Config();
$root =& $config->getRoot();
constructor (Previous) Returns TRUE if container is registered (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.