コード例 #1
0
 /**
  * Constructor.
  */
 public function _construct()
 {
     parent::_construct();
     $this->setId('ddg_rules_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Exclusion Rule'));
 }
コード例 #2
0
ファイル: Tabs.php プロジェクト: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('page_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Page Information'));
 }
コード例 #3
0
ファイル: Tabs.php プロジェクト: Doability/magento2dev
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('emizentech_shopbybrand_items_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Item'));
 }
コード例 #4
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('storelocator_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Store Information'));
 }
コード例 #5
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('pagseguro_magento2_items_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Item'));
 }
コード例 #6
0
ファイル: Tabs.php プロジェクト: ktplKunj/TestMagento
 protected function _construct()
 {
     parent::_construct();
     $this->setId('testimonial_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Testimonial Information'));
 }
コード例 #7
0
ファイル: Tabs.php プロジェクト: mirasvit/module-blog
 /**
  * {@inheritdoc}
  */
 protected function _beforeToHtml()
 {
     $this->addTab('general_section', ['label' => __('General Information'), 'content' => $this->getLayout()->createBlock('Mirasvit\\Blog\\Block\\Adminhtml\\Post\\Edit\\Tab\\General')->toHtml()]);
     $this->addTab('meta_section', ['label' => __('Search Engine Optimization'), 'content' => $this->getLayout()->createBlock('Mirasvit\\Blog\\Block\\Adminhtml\\Post\\Edit\\Tab\\Meta')->toHtml()]);
     $this->addTab('products_section', ['label' => __('Related Products'), 'content' => $this->getLayout()->createBlock('Mirasvit\\Blog\\Block\\Adminhtml\\Post\\Edit\\Tab\\Products')->toHtml()]);
     return parent::_beforeToHtml();
 }
コード例 #8
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('lapisbard_storelocator_locations_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Location'));
 }
コード例 #9
0
ファイル: Tabs.php プロジェクト: Doability/magento2dev
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('data_feeds_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Simple Google Shopping'));
 }
コード例 #10
0
 protected function _construct()
 {
     parent::_construct();
     $this->setId('checkmodule_modelname_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('General Information'));
 }
コード例 #11
0
ファイル: Tabs.php プロジェクト: aiesh/magento2
 /**
  * Initialize tabs and define tabs block settings
  *
  * @return void
  */
 public function _construct()
 {
     parent::_construct();
     $this->setId('theme_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Theme'));
 }
コード例 #12
0
ファイル: Tabs.php プロジェクト: hientruongbluecom/cemagento2
 protected function _construct()
 {
     parent::_construct();
     $this->setId('banners_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Banner Information'));
 }
コード例 #13
0
ファイル: Tabs.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * Initialize tab
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('billing_agreement_view_tabs');
     $this->setDestElementId('billing_agreement_view');
     $this->setTitle(__('Billing Agreement View'));
 }
コード例 #14
0
ファイル: Tabs.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('promo_catalog_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Catalog Price Rule'));
 }
コード例 #15
0
ファイル: Tabs.php プロジェクト: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('process_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Index'));
 }
コード例 #16
0
ファイル: Tabs.php プロジェクト: Atlis/docker-magento2
 /**
  * Set tabs
  *
  * @return \Magento\Connect\Block\Adminhtml\Extension\Custom\Edit\Tabs
  */
 protected function _beforeToHtml()
 {
     //        $this->addTab('package', array(
     //            'label'     => __('Package Info'),
     //            'content'   => $this->_getTabHtml('package'),
     //            'active'    => true,
     //        ));
     //
     //        $this->addTab('release', array(
     //            'label'     => __('Release Info'),
     //            'content'   => $this->_getTabHtml('release'),
     //        ));
     //
     //        $this->addTab('maintainers', array(
     //            'label'     => __('Authors'),
     //            'content'   => $this->_getTabHtml('authors'),
     //        ));
     //
     //        $this->addTab('depends', array(
     //            'label'     => __('Dependencies'),
     //            'content'   => $this->_getTabHtml('depends'),
     //        ));
     //
     //        $this->addTab('contents', array(
     //            'label'     => __('Contents'),
     //            'content'   => $this->_getTabHtml('contents'),
     //        ));
     //
     //        $this->addTab('load', array(
     //            'label'     => __('Load local Package'),
     //            'class'     => 'ajax',
     //            'url'       => $this->getUrl('adminhtml/*/loadtab', array('_current' => true)),
     //        ));
     return parent::_beforeToHtml();
 }
コード例 #17
0
ファイル: Tabs.php プロジェクト: aiesh/magento2
 /**
  * @return $this
  */
 protected function _beforeToHtml()
 {
     $this->addTab('main', array('label' => __('Properties'), 'title' => __('Properties'), 'content' => $this->getChildHtml('main'), 'active' => true));
     $this->addTab('labels', array('label' => __('Manage Labels'), 'title' => __('Manage Labels'), 'content' => $this->getChildHtml('labels')));
     $this->addTab('front', array('label' => __('Frontend Properties'), 'title' => __('Frontend Properties'), 'content' => $this->getChildHtml('front')));
     return parent::_beforeToHtml();
 }
コード例 #18
0
ファイル: Tabs.php プロジェクト: aiesh/magento2
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('sales_order_view_tabs');
     $this->setDestElementId('sales_order_view');
     $this->setTitle(__('Order View'));
 }
コード例 #19
0
ファイル: Tabs.php プロジェクト: shabbirvividads/magento2
 /**
  * Initialize integration edit page tabs
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('integration_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Basic Settings'));
 }
コード例 #20
0
ファイル: Tabs.php プロジェクト: artmouse/Umc_Base
 /**
  * set form data
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('umc_base_module_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Module Creator'));
 }
コード例 #21
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('tandinh_banner_sliders_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Slider'));
 }
コード例 #22
0
ファイル: Tabs.php プロジェクト: dragonsword007008/magento2
 protected function _construct()
 {
     parent::_construct();
     $this->setId('profile_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Recurring Profile Information'));
 }
コード例 #23
0
ファイル: Tabs.php プロジェクト: pradeep-wagento/magento2
 /**
  * Internal constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('widget_instace_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Widget'));
 }
コード例 #24
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('group_record');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Information'));
 }
コード例 #25
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('post_edit_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Category Information'));
 }
コード例 #26
0
ファイル: Tabs.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('attributes_update_tabs');
     $this->setDestElementId('attributes-edit-form');
     $this->setTitle(__('Products Information'));
 }
コード例 #27
0
ファイル: Tabs.php プロジェクト: mrtuvn/m2ce.dev
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slider_edit_tabs');
     //name in layout tab declare xml
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Banner Information'));
 }
コード例 #28
0
ファイル: Tabs.php プロジェクト: mrtuvn/m2ce.dev
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slider_edit_tabs');
     //init tab id for js tab. Name see in layout
     $this->setDestElementId('edit_form');
     $this->setTitle(__('Slider Information'));
 }
コード例 #29
0
 /**
  * Prepare Layout Content
  *
  * @return $this
  * @SuppressWarnings(PHPMD.CyclomaticComplexity)
  */
 protected function _prepareLayout()
 {
     $this->addTab('category', ['label' => __('Category information'), 'content' => $this->getLayout()->createBlock('Mageplaza\\Blog\\Block\\Adminhtml\\Category\\Edit\\Tab\\Category', 'mageplaza_blog_category_edit_tab_category')->toHtml()]);
     $this->addTab('post', ['label' => __('Posts'), 'content' => $this->getLayout()->createBlock('Mageplaza\\Blog\\Block\\Adminhtml\\Category\\Edit\\Tab\\Post', 'mageplaza_blog_category_edit_tab_post')->toHtml()]);
     // dispatch event add custom tabs
     $this->_eventManager->dispatch('adminhtml_mageplaza_blog_category_tabs', ['tabs' => $this]);
     return parent::_prepareLayout();
 }
コード例 #30
0
ファイル: Edit.php プロジェクト: aiesh/magento2
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     $role = $this->_coreRegistry->registry('current_role');
     $this->addTab('info', $this->getLayout()->createBlock('Magento\\User\\Block\\Role\\Tab\\Info')->setRole($role)->setActive(true));
     if ($role->getId()) {
         $this->addTab('roles', array('label' => __('Role Users'), 'title' => __('Role Users'), 'content' => $this->getLayout()->createBlock('Magento\\User\\Block\\Role\\Tab\\Users', 'role.users.grid')->toHtml()));
     }
     return parent::_prepareLayout();
 }