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.

Get item type (Previous) Deletes an item from the object (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.