Ejemplo n.º 1
0
 /**
  * {@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();
 }
Ejemplo n.º 3
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->setCacheKey('rss_catalog_category_' . $this->getRequest()->getParam('cid') . '_' . $this->getStoreId() . '_' . $this->customerSession->getId());
     parent::_construct();
 }
Ejemplo n.º 4
0
 /**
  * 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'));
     }
 }
Ejemplo n.º 5
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->setCacheKey('rss_catalog_new_products_store_' . $this->getStoreId());
     parent::_construct();
 }