Exemplo n.º 1
0
 protected function _construct()
 {
     parent::_construct();
     // set defaults
     $this->setSortBy('relevance');
     $this->setDefaultDirection('desc');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->addData(array('cache_lifetime' => 300, 'cache_tags' => array(Mage_Catalog_Model_Product::CACHE_TAG)));
 }
Exemplo n.º 3
0
 /**
  * Initialization
  */
 protected function _construct()
 {
     $this->_serializer = new Varien_Object();
     //$this->addData('type','computer');
     parent::_construct();
 }
 public function _construct()
 {
     $this->setDisplay('plain');
     $this->setMode('grid');
     parent::_construct();
 }