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


PHP Grid\Container类代码示例

本文整理汇总了PHP中Magento\Backend\Block\Widget\Grid\Container的典型用法代码示例。如果您正苦于以下问题:PHP Container类的具体用法?PHP Container怎么用?PHP Container使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: _construct

 protected function _construct()
 {
     $this->_controller = 'log';
     $this->_headerText = __('Push Log');
     parent::_construct();
     $this->buttonList->remove('add');
 }
开发者ID:colinnj,项目名称:Shop123_CE,代码行数:7,代码来源:Log.php

示例2: _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

示例3: _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

示例4: _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

示例5: _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

示例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: _prepareLayout

 protected function _prepareLayout()
 {
     $addButtonProps = ['id' => 'add_new_grid', 'label' => __('Add New Group'), 'class' => 'add', 'button_class' => '', 'class_name' => 'Magento\\Backend\\Block\\Widget\\Button\\SplitButton', 'options' => $this->_getAddButtonOptions()];
     $this->buttonList->add('add_new', $addButtonProps);
     $this->setChild('grid', $this->getLayout()->createBlock('OuterEdge\\Layout\\Block\\Adminhtml\\Groups\\Grid', 'layout.view.groups'));
     return parent::_prepareLayout();
 }
开发者ID:outeredge,项目名称:magento-layout-module,代码行数:7,代码来源:Groups.php

示例8: _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

示例9: _construct

 protected function _construct()
 {
     $this->_controller = 'expressly_dashboard';
     $this->_blockGroup = 'Expressly_Expressly';
     $this->_headerText = __('Expressly Dashboard');
     parent::_construct();
 }
开发者ID:etwandro,项目名称:magento2,代码行数:7,代码来源:Dashboard.php

示例10: _construct

 protected function _construct()
 {
     $this->_controller = 'adminhtml_queue';
     $this->_blockGroup = 'Remarkety_Mgconnector';
     $this->removeButton('add_button');
     parent::_construct();
 }
开发者ID:remarkety,项目名称:mgconnector,代码行数:7,代码来源:Queue.php

示例11: _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

示例12: _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

示例13: _prepareLayout

 protected function _prepareLayout()
 {
     $this->_idGroup = $this->getRequest()->getParam('group_id');
     $addButtonProps = ['id' => 'add_new_grid', 'label' => __('Add New Element'), 'class' => 'action-default scalable add primary', 'onclick' => "setLocation('" . $this->_getCreateUrl() . "')"];
     $this->buttonList->add('add_new', $addButtonProps);
     $this->setChild('grid', $this->getLayout()->createBlock('OuterEdge\\Layout\\Block\\Adminhtml\\Elements\\Grid', 'layout.view.elements'));
     return parent::_prepareLayout();
 }
开发者ID:outeredge,项目名称:magento-layout-module,代码行数:8,代码来源:Elements.php

示例14: _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

示例15: _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


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