Config_Container::isRoot()

Config_Container::isRoot() -- Check for root item

Synopsis

require_once 'Config/Container.php';

bool Config_Container::isRoot (void)

Description

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

Note

This function can not be called statically.