示例#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';
 }