protected function _prepareLayout()
{
parent::_prepareLayout();
$pager = $this->getLayout()->createBlock('page/html_pager', {pager name});
$pager->setAvailableLimit({collection limits});
$pager->setCollection({collection});
$this->setChild('pager', $pager);
return $this;
}
- {pager name} - any unique name
- {collection limits} - array with limit params like a 'array(10=>10)'
- {collection} - your collection
<?php echo $this->getChildHtml('pager'); ?>