/** * Render * * @return void * @access public */ function render_html() { // la creazione del tree viene fatta nel render // invece che nel process così è possibile per gli altri componenti // cambiare dinamicamente la struttura del sito $this->makeNavigationMenu(); $output = ''; if (count($this->_content)) { $this->_render_html($this->_content, $output); $tempOutput = ''; $wrapTag = $this->getAttribute('wrapTag'); if (!is_null($wrapTag)) { $tempOutput = org_glizy_helpers_Html::renderTag($wrapTag, array('class' => $this->getAttribute('wrapTagCssClass'), false)); } if (!is_null($this->getAttribute('headingTitle'))) { $title = $this->getAttributeString('title'); if (empty($title)) { $title = $this->_startMenu->title; } $tempOutput .= org_glizy_helpers_Html::renderTag($this->getAttribute('headingTitle'), array('class' => $this->getAttribute('headingCssClass')), true, $title); } $output = $tempOutput . $output; if (!is_null($wrapTag)) { $output .= org_glizy_helpers_Html::closeTag($wrapTag); } } $this->addOutputCode($output); }