コード例 #1
0
ファイル: BaseUI.widget.php プロジェクト: nslevkoff/phpAnvil2
 public function renderContent()
 {
     //---- HEAD ------------------------------------------------------------
     if (!empty($this->_headScripts)) {
         $this->assign('headScripts', $this->_headScripts);
     }
     if (!empty($this->_headStyles)) {
         $this->assign('headStyles', $this->_headStyles);
     }
     if (!empty($this->_headStylesheets)) {
         $this->assign('headStylesheets', $this->_headStylesheets);
     }
     $this->assign('body', $this->_body);
     //---- Bread Crumbs ----------------------------------------------------
     $maxBreadCrumbs = count($this->_breadCrumbs);
     $breadCrumbsHTML = '';
     for ($i = 0; $i < $maxBreadCrumbs; $i++) {
         $breadCrumbsHTML .= $this->_breadCrumbs[$i]->render();
         $breadCrumbsHTML .= $this->breadcrumbSeparator;
     }
     $this->assign('breadcrumbs', $breadCrumbsHTML);
     $return = parent::renderContent();
     return $return;
 }