public function listarclientesAction() { $modelo = new Application_Model_DbTable_Usuarios(); $clientes = $modelo->todoslosclientes(); Zend_View_Helper_PaginationControl::setDefaultViewPartial('paginator/items.phtml'); $paginator = Zend_Paginator::factory($clientes); if ($this->_hasParam('page')) { $paginator->setCurrentPageNumber($this->_getParam('page')); } $this->view->paginator = $paginator; }