/**
  * listviewAction
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  */
 public function listviewAction()
 {
     $this->core->logger->debug('cms->controllers->OverlayController->listviewAction()');
     $objRequest = $this->getRequest();
     $intFolderId = $objRequest->getParam('folderId');
     $strFileIds = $objRequest->getParam('fileIds');
     $strTmpFileIds = trim($strFileIds, '[]');
     $this->arrFileIds = split('\\]\\[', $strTmpFileIds);
     /**
      * get files
      */
     $this->getModelFiles();
     $objFiles = $this->objModelFiles->loadFiles($intFolderId);
     $this->view->assign('objFiles', $objFiles);
     $this->view->assign('arrFileIds', $this->arrFileIds);
 }
 /**
  * dashboardAction
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  */
 public function dashboardAction()
 {
     $this->core->logger->debug('media->controllers->ViewController->dashboardAction()');
     try {
         $this->getModelFiles();
         if ($this->getRequest()->isPost() && $this->getRequest()->isXmlHttpRequest()) {
             $intLimitNumber = 10;
             $objFiles = $this->objModelFiles->loadFiles('', $intLimitNumber);
             $this->view->assign('objFiles', $objFiles);
             $this->view->assign('limit', $intLimitNumber);
         }
     } catch (Exception $exc) {
         $this->core->logger->err($exc);
         exit;
     }
 }