當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Container::_construct方法代碼示例

本文整理匯總了PHP中Magento\Backend\Block\Widget\Grid\Container::_construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Container::_construct方法的具體用法?PHP Container::_construct怎麽用?PHP Container::_construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Magento\Backend\Block\Widget\Grid\Container的用法示例。


在下文中一共展示了Container::_construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: _construct

 /**
  * Block constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'tbslider_slideritems';
     $this->_headerText = __('Slider Items');
     $this->_addButtonLabel = __('Add Slider Item');
     parent::_construct();
 }
開發者ID:stepzerosolutions,項目名稱:tbslider,代碼行數:12,代碼來源:Slideritems.php

示例2: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_index';
     $this->_blockGroup = 'Mirasvit_Search';
     $this->_addButtonLabel = __('Add New Search Index');
     parent::_construct();
 }
開發者ID:Doability,項目名稱:magento2dev,代碼行數:12,代碼來源:Index.php

示例3: _construct

 protected function _construct()
 {
     $this->_controller = 'log';
     $this->_headerText = __('Push Log');
     parent::_construct();
     $this->buttonList->remove('add');
 }
開發者ID:colinnj,項目名稱:Shop123_CE,代碼行數:7,代碼來源:Log.php

示例4: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'term';
     $this->_headerText = __('Search');
     $this->_addButtonLabel = __('Add New Search Term');
     parent::_construct();
 }
開發者ID:kidaa30,項目名稱:magento2-platformsh,代碼行數:10,代碼來源:Term.php

示例5: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'banners';
     $this->_headerText = __('Banners');
     $this->_addButtonLabel = __('Add New Banners');
     parent::_construct();
 }
開發者ID:kietluu,項目名稱:magento2-backend-training,代碼行數:12,代碼來源:Banners.php

示例6: _construct

 /**
  * Modify header & button labels
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'customer_group';
     $this->_headerText = __('Customer Groups');
     $this->_addButtonLabel = __('Add New Customer Group');
     parent::_construct();
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:12,代碼來源:Group.php

示例7: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml';
     $this->_blockGroup = 'Shockwavemk_Mail_Base';
     $this->_headerText = __('Review Transactional Mails');
     parent::_construct();
 }
開發者ID:shockwavemk,項目名稱:magento2-module-mail,代碼行數:10,代碼來源:MailOverview.php

示例8: _construct

 protected function _construct()
 {
     $this->_controller = 'expressly_dashboard';
     $this->_blockGroup = 'Expressly_Expressly';
     $this->_headerText = __('Expressly Dashboard');
     parent::_construct();
 }
開發者ID:etwandro,項目名稱:magento2,代碼行數:7,代碼來源:Dashboard.php

示例9: _construct

 protected function _construct()
 {
     $this->_controller = 'adminhtml_queue';
     $this->_blockGroup = 'Remarkety_Mgconnector';
     $this->removeButton('add_button');
     parent::_construct();
 }
開發者ID:remarkety,項目名稱:mgconnector,代碼行數:7,代碼來源:Queue.php

示例10: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->buttonList->remove('add');
     $this->_blockGroup = 'Magenest_Subscription';
     $this->_controller = 'adminhtml_profile_view_tabs_relatedOrder';
 }
開發者ID:dragonsword007008,項目名稱:magento2,代碼行數:7,代碼來源:RelatedOrder.php

示例11: _construct

 /**
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'thesaurus';
     $this->_headerText = __('Thesaurus');
     $this->_addButtonLabel = __('Add New Thesaurus');
     parent::_construct();
 }
開發者ID:smile-sa,項目名稱:elasticsuite,代碼行數:12,代碼來源:Thesaurus.php

示例12: _construct

 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_rules';
     $this->_blockGroup = 'Rapidmage_Firewall';
     $this->_headerText = __('Manage Rules');
     $this->_addButtonLabel = __('Add Rules');
     parent::_construct();
 }
開發者ID:Rapidmage,項目名稱:Firewall,代碼行數:13,代碼來源:Rules.php

示例13: _construct

 protected function _construct()
 {
     $this->_controller = "adminhtml_banner";
     $this->_blockGroup = 'Tuna_BannerSlider';
     $this->_headerText = __('Banners');
     $this->_addButtonLabel = __('Add New Banner');
     parent::_construct();
 }
開發者ID:mrtuvn,項目名稱:m2ce.dev,代碼行數:8,代碼來源:Banner.php

示例14: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Magento_Cms';
     $this->_controller = 'adminhtml_block';
     $this->_headerText = __('Static Blocks');
     $this->_addButtonLabel = __('Add New Block');
     parent::_construct();
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:11,代碼來源:Block.php

示例15: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Magento_GoogleShopping';
     $this->_controller = 'adminhtml_types';
     $this->_addButtonLabel = __('Add Attribute Mapping');
     $this->_headerText = __('Manage Attribute Mapping');
     parent::_construct();
 }
開發者ID:aiesh,項目名稱:magento2,代碼行數:11,代碼來源:Types.php


注:本文中的Magento\Backend\Block\Widget\Grid\Container::_construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。