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; }
protected function _prepareLayout() { parent::_prepareLayout(); return $this; }