public function indexAction() { $lng = $this->_getParam('lng', 'nl'); $proxy = new SxModule_Eyecatchers_Proxy(); $items = $proxy->getAll($lng, true); $this->view->items = $items; }
public function indexAction() { SxCms_Acl::requireAcl('eyecatchers', 'eyecatchers.index'); $proxy = new SxModule_Eyecatchers_Proxy(); $items = $proxy->getAll($_SESSION['System']['lng'], false, true, $this->_getParam('page', 1), 25, true); $this->view->paginator = $items; }
public function getAll($lng = 'nl') { $proxy = new SxModule_Eyecatchers_Proxy(); return $proxy->getAll($lng); }