Example #1
0
 /**
  * Initialize review data
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     if ($this->_coreRegistry->registry('review_data')) {
         $this->setReviewId($this->_coreRegistry->registry('review_data')->getReviewId());
     }
 }
Example #2
0
 /**
  * @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);
     }
 }
Example #4
0
 /**
  * Initialize template and cache settings
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setCacheTags([self::CACHE_TAGS]);
 }
Example #5
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->assign('createUrl', $this->getUrl('tax/rate/save'));
 }
Example #6
0
 /**
  * @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'));
 }
Example #7
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->pageConfig->addBodyClass($this->_request->getFullActionName('-'));
 }
Example #8
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $collection = $this->_problemCollection->addSubscriberInfo()->addQueueInfo();
 }
Example #9
0
 /**
  * Initialize the sales grid.
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('customer_view_sales_grid');
 }
Example #10
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setCanEditPrice(true);
     $this->setCanReadPrice(true);
 }
Example #11
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('sales_order_create_totals_table');
 }