Exemplo n.º 1
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $pager = $this->getLayout()->createBlock('page/html_pager', 'custom.pager');
     $pager->setAvailableLimit(array(15 => 15, 30 => 30, 45 => 45, 'all' => 'all'));
     $pager->setCollection($this->getCollection());
     $this->setChild('pager', $pager);
     $this->getCollection()->load();
     return $this;
 }
Exemplo n.º 2
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (Mage::helper('giftvoucher')->getInterfaceConfig('preview') && Mage::helper('giftvoucher')->getInterfaceConfig('enable')) {
         $media = $this->getLayout()->getBlock('product.info.media');
         if ($media) {
             $media->setTemplate('giftvoucher/product/media.phtml');
         }
     }
 }
Exemplo n.º 3
0
 function _prepareLayout()
 {
     parent::_prepareLayout();
 }
Exemplo n.º 4
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
 }