Config::setRoot()

Config::setRoot() -- Set content of root Config_container object

Synopsis

require_once 'Config.php';

mixed Config::setRoot (object &$rootContainer)

Beschreibung

This method will replace the current child of the root Config_Container object by the given object.

Parameter

object $rootContainer

Container to be used as the first child of root

Rückgabewert

boolean - Gibt bei Erfolg TRUE zurück, bei einem Fehler FALSE.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel