//* DEBUG: */ echo "START: >".$element."<<br />\n";
if (in_array($element, $this->getMainNodes())) {
// Okay, main node found!
//* DEBUG: */ echo "START: >".$element."<<br />\n";
if (in_array($element, $this->getMainNodes())) {
// Okay, main node found!
// Set it
$this->setCurrMainNode($element);
} elseif (in_array($element, $this->getSubNodes())) {
// Sub node found
// Set it
$this->setCurrMainNode($element);
} elseif (in_array($element, $this->getSubNodes())) {
// Sub node found
} elseif ($element != 'menu') {
// Invalid node name found
throw new InvalidXmlNodeException(array($this, $element, $attributes), XmlParser::EXCEPTION_XML_NODE_UNKNOWN);
} elseif ($element != 'menu') {
// Invalid node name found
throw new InvalidXmlNodeException(array($this, $element, $attributes), XmlParser::EXCEPTION_XML_NODE_UNKNOWN);
// Handle the depency template
$this->handleTemplateDepency('entries', $templateDepency);
// Handle the depency template
$this->handleTemplateDepency('entries', $templateDepency);
// Load the header template for this page
$this->getTemplateInstance()->loadCodeTemplate('menu_entries_end');
// Load the header template for this page
$this->getTemplateInstance()->loadCodeTemplate('menu_entries_end');
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates
// Do we have a template instance?
if (is_null($this->getTemplateInstance())) {
// Init template instance for underlaying web templates