예제 #1
0
 /**
  *
  */
 public function init()
 {
     $this->productRepository = Yii::app()->getComponent('productRepository');
     $this->attributeFilter = Yii::app()->getComponent('attributesFilter');
     parent::init();
 }
예제 #2
0
 /**
  *
  */
 public function init()
 {
     parent::init();
     $this->generator = Yii::app()->getComponent('sitemapGenerator');
 }
예제 #3
0
 public function init()
 {
     $this->productRepository = Yii::app()->getComponent('productRepository');
     parent::init();
 }
예제 #4
0
 public function init()
 {
     Yii::import('application.modules.zendsearch.vendors.*');
     require_once 'Zend/Search/Lucene.php';
     parent::init();
 }
예제 #5
0
 /**
  *
  */
 public function init()
 {
     parent::init();
     $this->feedback = Yii::app()->getComponent('feedback');
 }
예제 #6
0
 /**
  *
  */
 public function init()
 {
     $this->productRepository = new ProductRepository();
     parent::init();
 }
예제 #7
0
 /**
  *
  */
 public function init()
 {
     $this->cart = Yii::app()->cart;
     $this->couponManager = Yii::app()->cart->couponManager;
     parent::init();
 }
예제 #8
0
 /**
  * Инициализируем контроллер:
  *
  * @return void
  **/
 public function init()
 {
     parent::init();
     $this->layout = 'withsidebar';
 }