/** * Initialize review data * * @return void */ protected function _construct() { parent::_construct(); if ($this->_coreRegistry->registry('review_data')) { $this->setReviewId($this->_coreRegistry->registry('review_data')->getReviewId()); } }
/** * @return void */ protected function _construct() { parent::_construct(); $templateId = $this->getRequest()->getParam('template_id'); if ($templateId) { $this->setTemplateId($templateId); } }
/** * Initialize "controller" and "header text" * * @return void */ protected function _construct() { parent::_construct(); if ($this->hasData(self::PARAM_CONTROLLER)) { $this->_controller = $this->_getData(self::PARAM_CONTROLLER); } if ($this->hasData(self::PARAM_HEADER_TEXT)) { $this->_headerText = $this->_getData(self::PARAM_HEADER_TEXT); } }
/** * Initialize template and cache settings * * @return void */ protected function _construct() { parent::_construct(); $this->setCacheTags([self::CACHE_TAGS]); }
/** * @return void */ protected function _construct() { parent::_construct(); $this->assign('createUrl', $this->getUrl('tax/rate/save')); }
/** * @return void */ protected function _construct() { parent::_construct(); $this->setUseConfirm(true); $this->setUseAjax(true); $this->setShowManageStoresLink(0); if (!$this->hasData('switch_websites')) { $this->setSwitchWebsites(false); } if (!$this->hasData('switch_store_groups')) { $this->setSwitchStoreGroups(false); } if (!$this->hasData('switch_store_views')) { $this->setSwitchStoreViews(true); } $this->setDefaultSelectionName(__('All Store Views')); }
/** * Class constructor * * @return void */ protected function _construct() { parent::_construct(); $this->pageConfig->addBodyClass($this->_request->getFullActionName('-')); }
/** * @return void */ protected function _construct() { parent::_construct(); $collection = $this->_problemCollection->addSubscriberInfo()->addQueueInfo(); }
/** * Initialize the sales grid. * * @return void */ protected function _construct() { parent::_construct(); $this->setId('customer_view_sales_grid'); }
/** * Class constructor * * @return void */ protected function _construct() { parent::_construct(); $this->setCanEditPrice(true); $this->setCanReadPrice(true); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->setId('sales_order_create_totals_table'); }