Esempio n. 1
0
 public function indexAction()
 {
     $user = $this->_helper->SyjUserManager->current();
     $pathMapper = new Syj_Model_PathMapper();
     $list = $pathMapper->fetchByCreator($user);
     $paginator = Zend_Paginator::factory($list);
     $paginator->setDefaultItemCountPerPage(20);
     $paginator->setCurrentPageNumber($this->_getParam('page', 1));
     $this->view->paginator = $paginator;
     $this->_jsLocaleStrings();
 }