Config_Container::isRoot() – Check for root item


require_once 'Config/Container.php';

bool Config_Container::isRoot ( ( void )


There is only one root item. It has no parent, no name, no content and is of type 'section'. The root item is not used in the parsers, only its children.

Return value

bool - TRUE if item is the root item


This function can not be called statically.

Config_Container::getType (Previous) Config_Container::removeItem (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.