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