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.

Get item type (Previous) Deletes an item from the object (Next)
Last updated: Sat, 21 Apr 2018 — 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.