• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Mage_Adminhtml_Block_Widget_Tabs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: __construct

 /**
  * Initialize tab
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setId('billing_agreement_view_tabs');
     $this->setDestElementId('billing_agreement_view');
     $this->setTitle($this->__('Billing Agreement View'));
 }
开发者ID:xiaoguizhidao,项目名称:blingjewelry-prod,代码行数:11,代码来源:Tabs.php


示例17: _prepareLayout

 /**
  * Preparing global layout
  *
  * @return Mage_Core_Block_Abstract
  */
 protected function _prepareLayout()
 {
     if (Mage::getSingleton('adminhtml/session')->getNewApplication()) {
         $this->addTab('set', array('label' => $this->__('Settings'), 'content' => $this->getLayout()->createBlock('xmlconnect/adminhtml_mobile_edit_tab_settings')->toHtml(), 'active' => true));
     }
     return parent::_prepareLayout();
 }
开发者ID:barneydesmond,项目名称:propitious-octo-tribble,代码行数:12,代码来源:Tabs.php


示例18: _beforeToHtml

 /**
  * Set tabs
  *
  * @return Mage_Connect_Block_Adminhtml_Extension_Custom_Edit_Tabs
  */
 protected function _beforeToHtml()
 {
     //        $this->addTab('package', array(
     //            'label'     => Mage::helper('connect')->__('Package Info'),
     //            'content'   => $this->_getTabHtml('package'),
     //            'active'    => true,
     //        ));
     //
     //        $this->addTab('release', array(
     //            'label'     => Mage::helper('connect')->__('Release Info'),
     //            'content'   => $this->_getTabHtml('release'),
     //        ));
     //
     //        $this->addTab('maintainers', array(
     //            'label'     => Mage::helper('connect')->__('Authors'),
     //            'content'   => $this->_getTabHtml('authors'),
     //        ));
     //
     //        $this->addTab('depends', array(
     //            'label'     => Mage::helper('connect')->__('Dependencies'),
     //            'content'   => $this->_getTabHtml('depends'),
     //        ));
     //
     //        $this->addTab('contents', array(
     //            'label'     => Mage::helper('connect')->__('Contents'),
     //            'content'   => $this->_getTabHtml('contents'),
     //        ));
     //
     //        $this->addTab('load', array(
     //            'label'     => Mage::helper('connect')->__('Load local Package'),
     //            'class'     => 'ajax',
     //            'url'       => $this->getUrl('*/*/loadtab', array('_current' => true)),
     //        ));
     return parent::_beforeToHtml();
 }
开发者ID:xiaoguizhidao,项目名称:blingjewelry-prod,代码行数:40,代码来源:Tabs.php


示例19: _beforeToHtml

 protected function _beforeToHtml()
 {
     $this->addTab('tab1_BulkUpdateAllProductPrices', array('label' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('Bulk Update All Product Prices'), 'title' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('Bulk Update All Product Prices'), 'content' => $this->getLayout()->createBlock("BulkUpdateAllProductPricesBlock1/BlockForFormBulkUpdateAllProductPrices")->toHtml(), 'active' => true));
     $about = "<fieldset class='box' style='clear: both;'><table>\n\t\t<tr><td>\n\t\t<a title='SaveTheMage Magento Extensions' href='http://www.savethemage.com/'>\n\t\t<img alt='SaveTheMage Magento Extensions' src='http://www.savethemage.com/skin/frontend/default/magik_aura/images/savethemage-logo-icon.png'>\n\t\t</a>\n\t\t</td></tr>\n\t\t<tr><td><a href='mailto:[email protected]'>Email Us</a></td></tr>\n\t\t</table></fieldset>";
     $this->addTab('tab2_about', array('label' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('About'), 'title' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('About'), 'content' => $about, 'active' => false));
     return parent::_beforeToHtml();
 }
开发者ID:xiaoguizhidao,项目名称:BumblebeeSite,代码行数:7,代码来源:ShowTabsAdminBlock.php


示例20: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setId('form_tabs');
     $this->setDestElementId('edit_form');
     $this->setData('title', Mage::helper('open_gallery')->__('Category Information'));
 }
开发者ID:shakhawat4g,项目名称:Magento-Gallery-Extension,代码行数:7,代码来源:Tabs.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Mage_Adminhtml_Controller_Action类代码示例发布时间:2022-05-23
下一篇:
PHP Mage_Adminhtml_Block_Widget_Grid_Container类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap