本文整理汇总了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');
}
示例2: _construct
/**
* Block constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'tbslider_slideritems';
$this->_headerText = __('Slider Items');
$this->_addButtonLabel = __('Add Slider Item');
parent::_construct();
}
示例3: _construct
/**
* Constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'banners';
$this->_headerText = __('Banners');
$this->_addButtonLabel = __('Add New Banners');
parent::_construct();
}
示例4: _construct
/**
* Constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml_index';
$this->_blockGroup = 'Mirasvit_Search';
$this->_addButtonLabel = __('Add New Search Index');
parent::_construct();
}
示例5: _construct
/**
* @return void
*/
protected function _construct()
{
$this->_controller = 'term';
$this->_headerText = __('Search');
$this->_addButtonLabel = __('Add New Search Term');
parent::_construct();
}
示例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();
}
示例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();
}
示例8: _construct
/**
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml';
$this->_blockGroup = 'Shockwavemk_Mail_Base';
$this->_headerText = __('Review Transactional Mails');
parent::_construct();
}
示例9: _construct
protected function _construct()
{
$this->_controller = 'expressly_dashboard';
$this->_blockGroup = 'Expressly_Expressly';
$this->_headerText = __('Expressly Dashboard');
parent::_construct();
}
示例10: _construct
protected function _construct()
{
$this->_controller = 'adminhtml_queue';
$this->_blockGroup = 'Remarkety_Mgconnector';
$this->removeButton('add_button');
parent::_construct();
}
示例11: _construct
protected function _construct()
{
parent::_construct();
$this->buttonList->remove('add');
$this->_blockGroup = 'Magenest_Subscription';
$this->_controller = 'adminhtml_profile_view_tabs_relatedOrder';
}
示例12: _construct
/**
* @SuppressWarnings(PHPMD.CamelCaseMethodName)
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'thesaurus';
$this->_headerText = __('Thesaurus');
$this->_addButtonLabel = __('Add New Thesaurus');
parent::_construct();
}
示例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();
}
示例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();
}
示例15: _construct
protected function _construct()
{
$this->_controller = "adminhtml_banner";
$this->_blockGroup = 'Tuna_BannerSlider';
$this->_headerText = __('Banners');
$this->_addButtonLabel = __('Add New Banner');
parent::_construct();
}