Example #1
0
 /**
  * Init class
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('taxRuleForm');
     $this->setTitle(__('Tax Rule Information'));
     $this->setUseContainer(true);
 }
Example #2
0
 /**
  * Initialize form
  * Add standard buttons
  * Add "Save and Apply" button
  * Add "Save and Continue" button
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'shqlogger';
     $this->_blockGroup = 'ShipperHQ_Logger';
     $this->_headerText = __('ShipperHQ Log Record');
     parent::_construct();
 }
Example #3
0
 /**
  * Set the selected resources, which is an array of resource ids.
  *
  * If everything is allowed, the array will contain just the root resource id, which is "Magento_Backend::all".
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $integrationData = $this->_coreRegistry->registry(IntegrationController::REGISTRY_KEY_CURRENT_INTEGRATION);
     if (is_array($integrationData) && isset($integrationData['integration_id']) && $integrationData['integration_id']) {
         $this->_selectedResources = $this->integrationService->getSelectedResources($integrationData['integration_id']);
     } else {
         $this->_selectedResources = [];
     }
 }
Example #4
0
 /**
  * Init Form properties
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('catalog_search_form');
     $this->setTitle(__('Search Information'));
 }
Example #5
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('sitemap_form');
     $this->setTitle(__('Sitemap Information'));
 }
Example #6
0
 protected function _construct()
 {
     parent::_construct();
     $this->setId('dashboard_form');
 }
Example #7
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $savedFromData = $this->retrieveFormResources();
     if (false !== $savedFromData) {
         $this->setSelectedResources($savedFromData);
         return;
     }
     $integrationData = $this->_coreRegistry->registry(IntegrationController::REGISTRY_KEY_CURRENT_INTEGRATION);
     if (is_array($integrationData) && isset($integrationData['integration_id']) && $integrationData['integration_id']) {
         $this->setSelectedResources($this->integrationService->getSelectedResources($integrationData['integration_id']));
     } else {
         $this->setSelectedResources([]);
     }
 }
Example #8
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('testimonial_form');
     $this->setTitle(__('Testimonial Information'));
 }
Example #9
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('promo_quote_form');
     $this->setTitle(__('Rule Information'));
 }
Example #10
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slider_form');
     $this->setTitle(__('Slider Information'));
 }
Example #11
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('tandinh_banners_form');
     $this->setTitle(__('Banner Information'));
 }
Example #12
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('emizentech_items_form');
     $this->setTitle(__('Item Information'));
 }
Example #13
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDestElementId(self::FORM_ELEMENT_ID);
 }
Example #14
0
 /**
  * Prepare form tab configuration
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setShowGlobalIcon(true);
 }
Example #15
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('avatax_tax_classes_' . \strtolower($this->classType));
 }
Example #16
0
 /**
  * Set the selected resources, which is an array of resource ids. If everything is allowed, the
  * array will contain just the root resource id, which is "Magento_Adminhtml::all".
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_selectedResources = $this->_webapiHelper->getSelectedResources();
 }
Example #17
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('Service_form');
     $this->setTitle(__('Service Information'));
 }
Example #18
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('post_form');
     $this->setTitle(__('Post Information'));
 }
Example #19
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('new_order_status');
 }
Example #20
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('easytab_form');
     $this->setTitle(__('Tab Information'));
 }
Example #21
0
 /**
  * Set form id and title
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('urlrewrite_form');
     $this->setTitle(__('Block Information'));
 }
Example #22
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('coreStoreForm');
 }
Example #23
0
 /**
  * Init class
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('checkoutAgreementForm');
     $this->setTitle(__('Terms and Conditions Information'));
 }
Example #24
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('feed_form');
     $this->setTitle(__('Feed Information'));
 }
Example #25
0
 /**
  * Init Form properties.
  *
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('thesaurus_edit_form');
     $this->setTitle(__('Edit a Thesaurus'));
 }
Example #26
0
 /**
  * Init Form properties
  *
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('thesaurus_create_form');
     $this->setTitle(__('Create a Thesaurus'));
 }
Example #27
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('post_contact');
     $this->setTitle(__('Post Contact'));
 }
Example #28
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('cadou_form');
     $this->setTitle(__('Cadou Information'));
 }
Example #29
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setActive(true);
 }
Example #30
0
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('newsblock_form');
     $this->setTitle(__('Newsblock Information'));
 }