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