Zend Framework Pagination Helper
Zend Framework Pagination Helper like Kohana Pagination
Usage :
- checkout the files from the repository and copy them to your library.
svn checkout http://svn2.assembla.com/svn/ZendPaginationHelper .
- add the following lines in your controller :
$this->view->addHelperPath('notech/view/helper', 'Notech_View_Helper');
$this->view->pagination_config = array( 'total_items'=>100,
'items_per_page'=>25,
'style'=>'digg');- add the following lines in your view :
echo $this->pagination($this->pagination_config)->create_links();
Output :
I am getting following exception, can anyone guide me on that right direction
exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name Pagination was not found in the registry.' in /usr/share/zf/Zend/Loader/PluginLoader.php:370
Stack trace: