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


PHP Mage_Adminhtml_Block_Widget_Tabs类代码示例

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


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

示例1: _beforeToHtml

 protected function _beforeToHtml()
 {
     $script = "\n            <script>\n            function hide_feedattr(){\n                \n                var display = \$('base_attr').value ? '' : 'none';\n                \n                \$('transform').up('tr').setStyle({'display': display})\n            }\n            hide_feedattr();\n            \n            Event.observe(\$('base_attr'),'change', hide_feedattr)\n            </script>\n        ";
     $this->addTab('general', array('label' => Mage::helper('amfeed')->__('General'), 'content' => $this->getLayout()->createBlock('amfeed/adminhtml_field_edit_tab_general')->toHtml() . $script));
     $this->addTab('mapping', array('label' => Mage::helper('amfeed')->__('Mapping'), 'content' => $this->getLayout()->createBlock('amfeed/adminhtml_field_edit_tab_mapping')->toHtml()));
     return parent::_beforeToHtml();
 }
开发者ID:jokusafet,项目名称:MagentoSource,代码行数:7,代码来源:Tabs.php

示例2: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setId('page_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(Mage::helper('Mage_Cms_Helper_Data')->__('Page Information'));
 }
开发者ID:natxetee,项目名称:magento2,代码行数:7,代码来源:Tabs.php

示例3: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('selling', array('label' => Mage::helper('M2ePro')->__('Selling Settings'), 'title' => Mage::helper('M2ePro')->__('Selling Settings'), 'content' => $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_add_tabs_selling')->toHtml()));
     $this->addTab('search', array('label' => Mage::helper('M2ePro')->__('Search Settings'), 'title' => Mage::helper('M2ePro')->__('Search Settings'), 'content' => $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_add_tabs_search')->toHtml()));
     $this->setActiveTab($this->getRequest()->getParam('tab', 'selling'));
     return parent::_beforeToHtml();
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:7,代码来源:Tabs.php

示例4: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('form_information', array('label' => Mage::helper('webforms')->__('Information'), 'title' => Mage::helper('webforms')->__('Information'), 'content' => $this->getLayout()->createBlock('webforms/adminhtml_fields_edit_tab_information')->toHtml()));
     $this->addTab('form_design', array('label' => Mage::helper('webforms')->__('Design'), 'title' => Mage::helper('webforms')->__('Design'), 'content' => $this->getLayout()->createBlock('webforms/adminhtml_fields_edit_tab_design')->toHtml()));
     Mage::dispatchEvent('webforms_adminhtml_fields_edit_tabs_before_to_html', array('tabs' => $this));
     return parent::_beforeToHtml();
 }
开发者ID:pankajsinghjarial,项目名称:SYLC,代码行数:7,代码来源:Tabs.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     #$this->setTemplate('widget/tabs.phtml');
     $this->setId('system_config_dwstree');
     $this->setDestElementId('system_config_form');
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:7,代码来源:System_Config_Dwstree.php

示例6: __construct

 /**
  * Constructor
  * Setting view parameters, destination element DomId and title
  */
 public function __construct()
 {
     parent::__construct();
     $this->setId('mobile_app_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle($this->__('Manage Mobile App'));
 }
开发者ID:rajanlamic,项目名称:OpenArtist,代码行数:11,代码来源:Tabs.php

示例7: _beforeToHtml

 protected function _beforeToHtml()
 {
     /*
             if (Mage::registry('current_customer')->getId()) {
                 $this->addTab('view', array(
                     'label'     => Mage::helper('customer')->__('Customer View'),
                     'content'   => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_view')->toHtml(),
                     'active'    => true
                 ));
             }
     */
     $this->addTab('account', array('label' => Mage::helper('customer')->__('Account Information'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_account')->initForm()->toHtml(), 'active' => Mage::registry('current_customer')->getId() ? false : true));
     $this->addTab('addresses', array('label' => Mage::helper('customer')->__('Addresses'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_addresses')->initForm()->toHtml()));
     // load: Orders, Shopping Cart, Wishlist, Product Reviews, Product Tags - with ajax
     if (Mage::registry('current_customer')->getId()) {
         if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
             $this->addTab('orders', array('label' => Mage::helper('customer')->__('Orders'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/orders', array('_current' => true))));
         }
         $this->addTab('cart', array('label' => Mage::helper('customer')->__('Shopping Cart'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/carts', array('_current' => true))));
         $this->addTab('wishlist', array('label' => Mage::helper('customer')->__('Wishlist'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/wishlist', array('_current' => true))));
         if (Mage::getSingleton('admin/session')->isAllowed('newsletter/subscriber')) {
             $this->addTab('newsletter', array('label' => Mage::helper('customer')->__('Newsletter'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_newsletter')->initForm()->toHtml()));
         }
         if (Mage::getSingleton('admin/session')->isAllowed('catalog/reviews_ratings')) {
             $this->addTab('reviews', array('label' => Mage::helper('customer')->__('Product Reviews'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/productReviews', array('_current' => true))));
         }
         if (Mage::getSingleton('admin/session')->isAllowed('catalog/tag')) {
             $this->addTab('tags', array('label' => Mage::helper('customer')->__('Product Tags'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/productTags', array('_current' => true))));
         }
     }
     $this->_updateActiveTab();
     Varien_Profiler::stop('customer/tabs');
     return parent::_beforeToHtml();
 }
开发者ID:hunnybohara,项目名称:magento-chinese-localization,代码行数:34,代码来源:Tabs.php

示例8: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('general', array('label' => Mage::helper('popup')->__('General'), 'title' => Mage::helper('popup')->__('General'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_general')->toHtml()));
     $this->addTab('content', array('label' => Mage::helper('popup')->__('Content'), 'title' => Mage::helper('popup')->__('Content'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_content')->toHtml()));
     $this->addTab('mss', array('label' => Mage::helper('popup')->__('Market Segmentation Suite'), 'title' => Mage::helper('popup')->__('Market Segmentation Suite'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_mss')->toHtml()));
     return parent::_beforeToHtml();
 }
开发者ID:bigtailbear14,项目名称:rosstheme,代码行数:7,代码来源:Tabs.php

示例9: _construct

 /**
  * Internal constructor
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('widget_instace_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(Mage::helper('Mage_Widget_Helper_Data')->__('Widget Instance'));
 }
开发者ID:nemphys,项目名称:magento2,代码行数:11,代码来源:Tabs.php

示例10: _beforeToHtml

 protected function _beforeToHtml()
 {
     $helper = $this->_getHelper();
     $this->addTab('options_tab', array('label' => $helper->__('Product Options'), 'title' => $helper->__('Product Options'), 'content' => $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_options', 'admin.product.options')->toHtml(), 'active' => true));
     $this->addTab('product_tab', array('label' => $helper->__('Products'), 'title' => $helper->__('Products'), 'content' => $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_product')->toHtml()));
     return parent::_beforeToHtml();
 }
开发者ID:parmanandsagar-mobikasa,项目名称:CO,代码行数:7,代码来源:Tabs.php

示例11: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('form_section', array('label' => Mage::helper('affiliateplus')->__('Transaction Information'), 'title' => Mage::helper('affiliateplus')->__('Transaction Information'), 'content' => $this->getLayout()->createBlock('affiliateplus/adminhtml_transaction_edit_tab_form')->toHtml()));
     //event to add more tab
     Mage::dispatchEvent('affiliateplus_adminhtml_add_transaction_tab', array('form' => $this));
     return parent::_beforeToHtml();
 }
开发者ID:cabrerabywaters,项目名称:magentoSunshine,代码行数:7,代码来源:Tabs.php

示例12: _beforeToHtml

 protected function _beforeToHtml()
 {
     $model = Mage::registry('entity_attribute');
     $this->addTab('main', array('label' => Mage::helper('catalog')->__('Properties'), 'title' => Mage::helper('catalog')->__('Properties'), 'content' => $this->getLayout()->createBlock('customerattribute/adminhtml_edit_tab_main')->toHtml(), 'active' => true));
     $this->addTab('labels', array('label' => Mage::helper('catalog')->__('Manage Label / Options'), 'title' => Mage::helper('catalog')->__('Manage Label / Options'), 'content' => $this->getLayout()->createBlock('customerattribute/adminhtml_edit_tab_options')->toHtml()));
     return parent::_beforeToHtml();
 }
开发者ID:pcuervo,项目名称:gadfy,代码行数:7,代码来源:Tabs.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setId('easytabs_tabs');
     $this->setDestElementId('edit_form');
     $this->setTitle(Mage::helper('easytabs')->__('Tab Information'));
 }
开发者ID:novayadi85,项目名称:navicet,代码行数:7,代码来源:Tabs.php

示例14: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('main_section', array('label' => Mage::helper('enterprise_targetrule')->__('Rule Information'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_main')->toHtml(), 'active' => true));
     $this->addTab('conditions_section', array('label' => Mage::helper('enterprise_targetrule')->__('Products to Match'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_conditions')->toHtml()));
     $this->addTab('targeted_products', array('label' => Mage::helper('enterprise_targetrule')->__('Products to Display'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_actions')->toHtml()));
     return parent::_beforeToHtml();
 }
开发者ID:jpbender,项目名称:mage_virtual,代码行数:7,代码来源:Tabs.php

示例15: __construct

 /**
  * Construct
  */
 public function __construct()
 {
     parent::__construct();
     $this->setId('logs_view_tabs');
     $this->setDestElementId('logs_view');
     $this->setTitle(Mage::helper('ratepaypayment')->__('Logs Information View'));
 }
开发者ID:nschoen,项目名称:magento-module,代码行数:10,代码来源:Tabs.php


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