コード例 #1
0
ファイル: Form.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * Init class
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('taxRuleForm');
     $this->setTitle(__('Tax Rule Information'));
     $this->setUseContainer(true);
 }
コード例 #2
0
ファイル: View.php プロジェクト: shipperhq/module-logger
 /**
  * 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();
 }
コード例 #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 = [];
     }
 }
コード例 #4
0
ファイル: Form.php プロジェクト: aiesh/magento2
 /**
  * Init Form properties
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('catalog_search_form');
     $this->setTitle(__('Search Information'));
 }
コード例 #5
0
ファイル: Form.php プロジェクト: aiesh/magento2
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('sitemap_form');
     $this->setTitle(__('Sitemap Information'));
 }
コード例 #6
0
ファイル: Form.php プロジェクト: etwandro/magento2
 protected function _construct()
 {
     parent::_construct();
     $this->setId('dashboard_form');
 }
コード例 #7
0
ファイル: Webapi.php プロジェクト: Doability/magento2dev
 /**
  * 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([]);
     }
 }
コード例 #8
0
ファイル: Form.php プロジェクト: swissup/testimonials
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('testimonial_form');
     $this->setTitle(__('Testimonial Information'));
 }
コード例 #9
0
ファイル: Form.php プロジェクト: pradeep-wagento/magento2
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('promo_quote_form');
     $this->setTitle(__('Rule Information'));
 }
コード例 #10
0
ファイル: Form.php プロジェクト: OlgaBurtyka/m2
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slider_form');
     $this->setTitle(__('Slider Information'));
 }
コード例 #11
0
ファイル: Form.php プロジェクト: tanvandinh/Magento2-Banners
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('tandinh_banners_form');
     $this->setTitle(__('Banner Information'));
 }
コード例 #12
0
ファイル: Form.php プロジェクト: Doability/magento2dev
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('emizentech_items_form');
     $this->setTitle(__('Item Information'));
 }
コード例 #13
0
ファイル: Form.php プロジェクト: shabbirvividads/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDestElementId(self::FORM_ELEMENT_ID);
 }
コード例 #14
0
ファイル: Design.php プロジェクト: shabbirvividads/magento2
 /**
  * Prepare form tab configuration
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setShowGlobalIcon(true);
 }
コード例 #15
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('avatax_tax_classes_' . \strtolower($this->classType));
 }
コード例 #16
0
ファイル: Webapi.php プロジェクト: aiesh/magento2
 /**
  * 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();
 }
コード例 #17
0
ファイル: Form.php プロジェクト: swissup/email
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('Service_form');
     $this->setTitle(__('Service Information'));
 }
コード例 #18
0
ファイル: Form.php プロジェクト: nguyetnguyen/package-test
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('post_form');
     $this->setTitle(__('Post Information'));
 }
コード例 #19
0
ファイル: Form.php プロジェクト: pradeep-wagento/magento2
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('new_order_status');
 }
コード例 #20
0
ファイル: Form.php プロジェクト: swissup/easytabs
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('easytab_form');
     $this->setTitle(__('Tab Information'));
 }
コード例 #21
0
ファイル: Form.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * Set form id and title
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('urlrewrite_form');
     $this->setTitle(__('Block Information'));
 }
コード例 #22
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('coreStoreForm');
 }
コード例 #23
0
ファイル: Form.php プロジェクト: aiesh/magento2
 /**
  * Init class
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('checkoutAgreementForm');
     $this->setTitle(__('Terms and Conditions Information'));
 }
コード例 #24
0
ファイル: Form.php プロジェクト: PeterReuleke/module-news
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('feed_form');
     $this->setTitle(__('Feed Information'));
 }
コード例 #25
0
ファイル: Form.php プロジェクト: smile-sa/elasticsuite
 /**
  * Init Form properties.
  *
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('thesaurus_edit_form');
     $this->setTitle(__('Edit a Thesaurus'));
 }
コード例 #26
0
ファイル: Form.php プロジェクト: smile-sa/elasticsuite
 /**
  * Init Form properties
  *
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('thesaurus_create_form');
     $this->setTitle(__('Create a Thesaurus'));
 }
コード例 #27
0
ファイル: Form.php プロジェクト: dragonsword007008/magento2
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('post_contact');
     $this->setTitle(__('Post Contact'));
 }
コード例 #28
0
ファイル: Form.php プロジェクト: alinmiron/alin-cadou
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('cadou_form');
     $this->setTitle(__('Cadou Information'));
 }
コード例 #29
0
ファイル: Settings.php プロジェクト: pradeep-wagento/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setActive(true);
 }
コード例 #30
0
ファイル: Form.php プロジェクト: Tossimo/Newsblock
 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('newsblock_form');
     $this->setTitle(__('Newsblock Information'));
 }