public function indexAction() { SxCms_Acl::requireAcl('survey', 'survey.index'); $proxy = new SxCms_Survey_DataMapper(); $surveys = $proxy->getAllSurveys(); $paginator = new Zend_Paginator(new Zend_Paginator_Adapter_Array($surveys)); $paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setItemCountPerPage(15); $this->view->paginator = $paginator; }