/** * {@inheritdoc} */ protected function _construct() { $this->setCacheKey('rss_catalog_salesrule_' . $this->getStoreId() . '_' . $this->getCustomerGroupId()); parent::_construct(); }
/** * @return void */ protected function _construct() { $this->setCacheKey('rss_blog_categories_store_' . $this->getStoreId()); parent::_construct(); }
/** * @return void */ protected function _construct() { $this->setCacheKey('rss_catalog_category_' . $this->getRequest()->getParam('cid') . '_' . $this->getStoreId() . '_' . $this->customerSession->getId()); parent::_construct(); }
/** * Internal constructor, that is called from real constructor * @return void */ protected function _construct() { parent::_construct(); /* * In case template was passed through constructor * we assign it to block's property _template * Mainly for those cases when block created * not via \Magento\Framework\View\Model\LayoutInterface::addBlock() */ if ($this->hasData('template')) { $this->setTemplate($this->getData('template')); } }
/** * @return void */ protected function _construct() { $this->setCacheKey('rss_catalog_new_products_store_' . $this->getStoreId()); parent::_construct(); }