/**
  * loadTreeForPortal
  * @param integer $intPortalId
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 protected function loadTreeForPortal($intPortalId)
 {
     $this->core->logger->debug('cms->controllers->OverlayController->loadTreeForPortal(' . $intPortalId . ')');
     $this->getModelFolders();
     $objPageTree = $this->objModelFolders->loadRootLevelChilds($intPortalId);
     $this->view->assign('elements', $objPageTree);
     $this->view->assign('portalId', $intPortalId);
 }
 /**
  * loadPageTreeForPortal
  * @param integer $intPortalId
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 protected function loadPageTreeForPortal($intPortalId)
 {
     $this->core->logger->debug('cms->controllers->OverlayController->loadPageTreeForPortal(' . $intPortalId . ')');
     $this->getModelFolders();
     $intPortalLanguageId = $this->getRequest()->getParam('portalLanguageId');
     if ((int) $intPortalLanguageId > 0) {
         $this->objModelFolders->setLanguageId($intPortalLanguageId);
     }
     $objPageTree = $this->objModelFolders->loadRootLevelChilds($intPortalId);
     $this->view->assign('elements', $objPageTree);
     $this->view->assign('portalId', $intPortalId);
 }