Example #1
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $fileList = new \fpcm\model\files\imagelist();
     $page = $this->getRequestVar('page', array(9));
     $list = $fileList->getDatabaseList($this->config->file_list_limit, \fpcm\classes\tools::getPageOffset($page, $this->config->file_list_limit));
     $pagerData = \fpcm\classes\tools::calcPagination($this->config->file_list_limit, $page, $fileList->getDatabaseFileCount(), count($list));
     $list = $this->events->runEvent('reloadFileList', $list);
     $userList = new \fpcm\model\users\userList();
     $this->initViewAssigns($list, $userList->getUsersAll(), $pagerData);
     $this->initPermissions();
     $this->view->initAssigns();
     $this->view->render();
 }
Example #2
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->assignModules($this->modulelist, false);
     $this->view->initAssigns();
     $this->view->render();
 }