public function indexAction() { $tbl_album = new Donga_Model_Album(); $this->view->items = $tbl_album->getListItem($this->_arrParam, array('task' => 'list-item')); $totalItem = $tbl_album->countItem($this->_arrParam, array('task' => 'count-item')); $paginator = new Zendda_Paginator(); $this->view->panigator = $paginator->createPaginator($totalItem, $this->_paginator); }
public function indexAction() { $this->view->Title = 'Chuyên mục :: Quản lý hình ảnh :: Danh sách'; $this->view->headTitle($this->view->Title, true); $tblItem = new Donga_Model_Album(); $this->view->items = $tblItem->getlistItem($this->_arrParams, array('task' => 'list-item')); $totalItem = $tblItem->countItem($this->_arrParams, array('task' => 'count-item')); $paginator = new Zendda_Paginator(); $this->view->panigator = $paginator->createPaginator($totalItem, $this->_paginator); }