Пример #1
0
 protected function _construct()
 {
     $this->_controller = 'log';
     $this->_headerText = __('Push Log');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #2
0
 /**
  * Block constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'tbslider_slideritems';
     $this->_headerText = __('Slider Items');
     $this->_addButtonLabel = __('Add Slider Item');
     parent::_construct();
 }
Пример #3
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'banners';
     $this->_headerText = __('Banners');
     $this->_addButtonLabel = __('Add New Banners');
     parent::_construct();
 }
Пример #4
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_index';
     $this->_blockGroup = 'Mirasvit_Search';
     $this->_addButtonLabel = __('Add New Search Index');
     parent::_construct();
 }
Пример #5
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'items';
     $this->_headerText = __('Items');
     $this->_addButtonLabel = __('Add New Item');
     parent::_construct();
 }
Пример #6
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'term';
     $this->_headerText = __('Search');
     $this->_addButtonLabel = __('Add New Search Term');
     parent::_construct();
 }
Пример #7
0
 /**
  * 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();
 }
Пример #8
0
 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();
 }
Пример #9
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'tax_rule';
     $this->_headerText = __('Manage Tax Rules');
     $this->_addButtonLabel = __('Add New Tax Rule');
     parent::_construct();
 }
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml';
     $this->_blockGroup = 'Shockwavemk_Mail_Base';
     $this->_headerText = __('Review Transactional Mails');
     parent::_construct();
 }
Пример #11
0
 protected function _construct()
 {
     $this->_controller = 'expressly_dashboard';
     $this->_blockGroup = 'Expressly_Expressly';
     $this->_headerText = __('Expressly Dashboard');
     parent::_construct();
 }
Пример #12
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'promo_quote';
     $this->_headerText = __('Cart Price Rules');
     $this->_addButtonLabel = __('Add New Rule');
     parent::_construct();
 }
Пример #13
0
 protected function _construct()
 {
     $this->_controller = 'adminhtml_queue';
     $this->_blockGroup = 'Remarkety_Mgconnector';
     $this->removeButton('add_button');
     parent::_construct();
 }
Пример #14
0
 protected function _construct()
 {
     parent::_construct();
     $this->buttonList->remove('add');
     $this->_blockGroup = 'Magenest_Subscription';
     $this->_controller = 'adminhtml_profile_view_tabs_relatedOrder';
 }
Пример #15
0
 /**
  * @SuppressWarnings(PHPMD.CamelCaseMethodName)
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'thesaurus';
     $this->_headerText = __('Thesaurus');
     $this->_addButtonLabel = __('Add New Thesaurus');
     parent::_construct();
 }
Пример #16
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'locations';
     $this->_headerText = __('Locations');
     $this->_addButtonLabel = __('Add New Location');
     parent::_construct();
 }
Пример #17
0
 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();
 }
Пример #18
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_rules';
     $this->_blockGroup = 'Rapidmage_Firewall';
     $this->_headerText = __('Manage Rules');
     $this->_addButtonLabel = __('Add Rules');
     parent::_construct();
 }
Пример #19
0
 protected function _construct()
 {
     $this->_controller = "adminhtml_banner";
     $this->_blockGroup = 'Tuna_BannerSlider';
     $this->_headerText = __('Banners');
     $this->_addButtonLabel = __('Add New Banner');
     parent::_construct();
 }
Пример #20
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml';
     $this->_blockGroup = 'Bluecom_Freegeoip';
     $this->_headerText = __('Visitor Data');
     $this->_addButtonLabel = __('Add New data');
     parent::_construct();
 }
Пример #21
0
 /**
  * Initialize billing agreements grid container
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_billing_agreement';
     $this->_blockGroup = 'Magento_Paypal';
     $this->_headerText = __('Billing Agreements');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #22
0
 /**
  * @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();
 }
Пример #23
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml';
     $this->_blockGroup = 'Magento_AdminNotification';
     $this->_headerText = __('Messages Inbox');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #24
0
 /**
  * Block constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Dotdigitalgroup_Email';
     $this->_controller = 'adminhtml_contact';
     $this->_headerText = __('Contacts');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #25
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Magento_Reports';
     $this->_controller = 'adminhtml_customer_accounts';
     $this->_headerText = __('New Accounts');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #26
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml_agreement';
     $this->_blockGroup = 'Magento_CheckoutAgreements';
     $this->_headerText = __('Terms and Conditions');
     $this->_addButtonLabel = __('Add New Condition');
     parent::_construct();
 }
Пример #27
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'adminhtml';
     $this->_blockGroup = 'SR_Weblog';
     $this->_headerText = __('Manage Blog Post');
     $this->_addButtonLabel = __('Add New Blog Post');
     parent::_construct();
 }
Пример #28
0
 /**
  * Initialize object state with incoming parameters
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_controller = 'indexer';
     $this->_blockGroup = 'Magento_Indexer';
     $this->_headerText = __('Indexer Management');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #29
0
 /**
  * Initialize container block settings
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Magento_Reports';
     $this->_controller = 'adminhtml_product_sold';
     $this->_headerText = __('Products Ordered');
     parent::_construct();
     $this->buttonList->remove('add');
 }
Пример #30
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_blockGroup = 'Magento_Search';
     $this->_controller = 'adminhtml_synonyms';
     $this->_headerText = __('Search Synonyms');
     $this->_addButtonLabel = __('New Synonym Group');
     parent::_construct();
 }