Ejemplo n.º 1
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $pager = $this->getLayout()->createBlock("page/html_pager", "custom.pager");
     $pager->setAvailableLimit(array(9 => 9, 15 => 15, 30 => 30, "all" => "all"));
     $pager->setCollection($this->getCollection());
     $this->setChild("pager", $pager);
     $this->getCollection()->load();
     return $this;
 }
Ejemplo n.º 2
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     return $this;
 }