当前位置: 首页>>代码示例>>PHP>>正文


PHP Generic::_construct方法代码示例

本文整理汇总了PHP中Magento\Backend\Block\Widget\Form\Generic::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Generic::_construct方法的具体用法?PHP Generic::_construct怎么用?PHP Generic::_construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Magento\Backend\Block\Widget\Form\Generic的用法示例。


在下文中一共展示了Generic::_construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _construct

 /**
  * Init class
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('taxRuleForm');
     $this->setTitle(__('Tax Rule Information'));
     $this->setUseContainer(true);
 }
开发者ID:kidaa30,项目名称:magento2-platformsh,代码行数:12,代码来源:Form.php

示例2: _construct

 /**
  * 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();
 }
开发者ID:shipperhq,项目名称:module-logger,代码行数:15,代码来源:View.php

示例3: _construct

 /**
  * 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 = [];
     }
 }
开发者ID:kidaa30,项目名称:magento2-platformsh,代码行数:17,代码来源:Webapi.php

示例4: _construct

 /**
  * Init Form properties
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('catalog_search_form');
     $this->setTitle(__('Search Information'));
 }
开发者ID:aiesh,项目名称:magento2,代码行数:11,代码来源:Form.php

示例5: _construct

 /**
  * Init form
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('sitemap_form');
     $this->setTitle(__('Sitemap Information'));
 }
开发者ID:aiesh,项目名称:magento2,代码行数:11,代码来源:Form.php

示例6: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setId('dashboard_form');
 }
开发者ID:etwandro,项目名称:magento2,代码行数:5,代码来源:Form.php

示例7: _construct

 /**
  * 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([]);
     }
 }
开发者ID:Doability,项目名称:magento2dev,代码行数:20,代码来源:Webapi.php

示例8: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('promo_quote_form');
     $this->setTitle(__('Rule Information'));
 }
开发者ID:pradeep-wagento,项目名称:magento2,代码行数:11,代码来源:Form.php

示例9: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDestElementId(self::FORM_ELEMENT_ID);
 }
开发者ID:shabbirvividads,项目名称:magento2,代码行数:8,代码来源:Form.php

示例10: _construct

 /**
  * Prepare form tab configuration
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setShowGlobalIcon(true);
 }
开发者ID:shabbirvividads,项目名称:magento2,代码行数:10,代码来源:Design.php

示例11: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('avatax_tax_classes_' . \strtolower($this->classType));
 }
开发者ID:classyllama,项目名称:ClassyLlama_AvaTax,代码行数:10,代码来源:Form.php

示例12: _construct

 /**
  * 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();
 }
开发者ID:aiesh,项目名称:magento2,代码行数:11,代码来源:Webapi.php

示例13: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('new_order_status');
 }
开发者ID:pradeep-wagento,项目名称:magento2,代码行数:10,代码来源:Form.php

示例14: _construct

 /**
  * Set form id and title
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('urlrewrite_form');
     $this->setTitle(__('Block Information'));
 }
开发者ID:kidaa30,项目名称:magento2-platformsh,代码行数:11,代码来源:Form.php

示例15: _construct

 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('coreStoreForm');
 }
开发者ID:pradeep-wagento,项目名称:magento2,代码行数:10,代码来源:AbstractForm.php


注:本文中的Magento\Backend\Block\Widget\Form\Generic::_construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。