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

PHP Mage_Adminhtml_Block_Widget_Container类代码示例

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

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



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

示例1: _buildBlock

 /**
  * Composes a container with several buttons in it
  *
  * @param array $titles
  * @return Mage_Adminhtml_Block_Widget_Container
  */
 protected function _buildBlock($titles)
 {
     $layout = new Mage_Core_Model_Layout();
     $block = new Mage_Adminhtml_Block_Widget_Container();
     foreach ($titles as $id => $title) {
         $block->addButton($id, array('title' => $title));
     }
     $layout->addBlock($block, 'block');
     return $block;
 }
开发者ID:NatashaOlut,项目名称:Mage_Test,代码行数:16,代码来源:Container.php


示例2: _prepareLayout

 protected function _prepareLayout()
 {
     if ($this->_blockGroup && $this->_controller) {
         $this->setChild('form', $this->getLayout()->createBlock($this->_blockGroup . '/' . $this->_controller . '_' . $this->_mode . 'form'));
     }
     return Mage_Adminhtml_Block_Widget_Container::_prepareLayout();
 }
开发者ID:xiaoguizhidao,项目名称:autotech_design,代码行数:7,代码来源:Uploadcontainer.php


示例3: __construct

 public function __construct()
 {
     $this->_controller = 'adminhtml_printbarcode';
     $this->_blockGroup = 'inventorybarcode';
     $this->_headerText = Mage::helper('inventorybarcode')->__('Print Barcodes');
     parent::__construct();
 }
开发者ID:cabrerabywaters,项目名称:magentoSunshine,代码行数:7,代码来源:Printbarcode.php


示例4: __construct

 public function __construct()
 {
     $this->_setHeaderText();
     $block_module_groupname = "ReverbSync";
     $this->_objectId = 'reverb_product_sync_container';
     $this->setTemplate('widget/view/container.phtml');
     parent::__construct();
     $bulk_sync_process_button = array('action_url' => Mage::getModel('adminhtml/url')->getUrl('adminhtml/ReverbSync_listings_sync/bulkSync'), 'label' => 'Bulk Product Sync');
     $clear_all_tasks_button = array('action_url' => Mage::getModel('adminhtml/url')->getUrl('adminhtml/ReverbSync_listings_sync/clearAllTasks'), 'label' => 'Clear All Sync Tasks');
     $clear_successful_tasks_button = array('action_url' => Mage::getModel('adminhtml/url')->getUrl('adminhtml/ReverbSync_listings_sync/clearSuccessfulTasks'), 'label' => 'Clear Successful Sync Tasks');
     $action_buttons_array['bulk_product_sync'] = $bulk_sync_process_button;
     $action_buttons_array['clear_all_sync_tasks'] = $clear_all_tasks_button;
     $action_buttons_array['clear_successful_sync_tasks'] = $clear_successful_tasks_button;
     foreach ($action_buttons_array as $button_id => $button_data) {
         $button_action_url = isset($button_data['action_url']) ? $button_data['action_url'] : '';
         if (empty($button_action_url)) {
             // Require label to be defined
             continue;
         }
         $button_label = isset($button_data['label']) ? $button_data['label'] : '';
         if (empty($button_label)) {
             // Require label to be defined
             continue;
         }
         $this->_addButton($button_id, array('label' => Mage::helper($block_module_groupname)->__($button_label), 'onclick' => "document.location='" . $button_action_url . "'", 'level' => -1));
     }
 }
开发者ID:zztimur,项目名称:reverb-magento,代码行数:27,代码来源:Index.php


示例5: _toHtml

 protected function _toHtml()
 {
     $this->setJobIdHtml($this->escapeHtml($this->_job->getId()));
     $this->setJobNameHtml($this->escapeHtml($this->_job->getName()));
     $this->setJobNameHtml($this->escapeHtml($this->_job->getName()));
     $storeId = $this->_job->getStoreId();
     $store = Mage::app()->getStore($storeId);
     $this->setStoreNameHtml($this->escapeHtml($store->getName()));
     $this->setJobQueueHtml($this->escapeHtml($this->_job->getQueue()));
     $this->setAttemptsHtml($this->escapeHtml($this->_job->getAttempts()));
     $runAt = strtotime($this->_job->getRunAt()) ? $this->formatDate($this->_job->getRunAt(), Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM, true) : $this->__('N/A');
     $this->setRunAtHtml($this->escapeHtml($runAt));
     $status = $this->__("Pending");
     if ($this->_job->getFailedAt()) {
         $status = $this->__('Failed');
     } else {
         if ($this->_job->getLockedAt()) {
             $status = $this->__('In Process');
         }
     }
     $this->setStatusHtml($this->escapeHtml($status));
     $this->setErrorHtml($this->escapeHtml($this->_job->getError()));
     $createdAt = strtotime($this->_job->getCreatedAt()) ? $this->formatDate($this->_job->getCreatedAt(), Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM, true) : $this->__('N/A');
     $this->setCreatedAtHtml($this->escapeHtml($createdAt));
     return parent::_toHtml();
 }
开发者ID:punkstar,项目名称:magento-jobqueue,代码行数:26,代码来源:View.php


示例6: __construct

 public function __construct()
 {
     parent::__construct();
     $this->_objectId = 'moderator_id';
     $this->_blockGroup = 'moderator';
     $this->_controller = 'adminhtml_moderators';
 }
开发者ID:praxigento,项目名称:mage_app_prxgt_store,代码行数:7,代码来源:Index.php


示例7: _beforeToHtml

 /**
  * Set title and a hack for tabs container
  *
  * @return Mage_Sales_Block_Adminhtml_Recurring_Profile_View
  */
 protected function _beforeToHtml()
 {
     $profile = Mage::registry('current_recurring_profile');
     $this->_headerText = Mage::helper('sales')->__('Recurring Profile # %s', $profile->getReferenceId());
     $this->setViewHtml('<div id="' . $this->getDestElementId() . '"></div>');
     return parent::_beforeToHtml();
 }
开发者ID:hirentricore,项目名称:devmagento,代码行数:12,代码来源:View.php


示例8: __construct

 public function __construct()
 {
     $this->_controller = "adminhtml_chart";
     $this->_blockGroup = "watchlog";
     parent::__construct();
     $this->setTemplate('watchlog/chart.phtml');
 }
开发者ID:FranchuCorraliza,项目名称:magento,代码行数:7,代码来源:Chart.php


示例9: _prepareLayout

 protected function _prepareLayout()
 {
     if ($this->_blockGroup && $this->_controller && $this->_mode) {
         $this->setChild('form', $this->getLayout()->createBlock($this->_blockGroup . '/' . $this->_controller . '_' . $this->_mode . '_form'));
     }
     return parent::_prepareLayout();
 }
开发者ID:okite11,项目名称:frames21,代码行数:7,代码来源:Container.php


示例10: _beforeToHtml

 protected function _beforeToHtml()
 {
     $ticket = $this->getTicket();
     $this->_headerText = Mage::helper('inchoo_tickets')->__('Ticket #%s - %s', $ticket->getTicketId(), $this->escapeHtml($ticket->getSubject()));
     $this->setViewHtml('<div id="' . $this->getDestElementId() . '"></div>');
     return parent::_beforeToHtml();
 }
开发者ID:ivan-veres,项目名称:Inchoo-Tickets,代码行数:7,代码来源:View.php


示例11: _beforeToHtml

 protected function _beforeToHtml()
 {
     // Magento order data
     // ---------------
     $this->realMagentoOrderId = NULL;
     $magentoOrder = $this->order->getMagentoOrder();
     if (!is_null($magentoOrder)) {
         $this->realMagentoOrderId = $magentoOrder->getRealOrderId();
     }
     // ---------------
     // ---------------
     if (!is_null($magentoOrder) && $magentoOrder->hasShipments()) {
         $url = $this->getUrl('*/adminhtml_order/resubmitShippingInfo', array('id' => $this->order->getId()));
         $data = array('class' => '', 'label' => Mage::helper('M2ePro')->__('Resend Shipping Information'), 'onclick' => 'setLocation(\'' . $url . '\');');
         $buttonBlock = $this->getLayout()->createBlock('adminhtml/widget_button')->setData($data);
         $this->setChild('resubmit_shipping_info', $buttonBlock);
     }
     // ---------------
     // Shipping data
     // ---------------
     /** @var $shippingAddress Ess_M2ePro_Model_Buy_Order_ShippingAddress */
     $shippingAddress = $this->order->getShippingAddress();
     $this->shippingAddress = $shippingAddress->getData();
     $this->shippingAddress['country_name'] = $shippingAddress->getCountryName();
     $this->shippingAddress['phone'] = $this->order->getChildObject()->getBillingAddress()->getData('phone');
     $this->shippingAddress['company'] = $this->order->getChildObject()->getBillingAddress()->getData('company');
     // ---------------
     $this->setChild('item', $this->getLayout()->createBlock('M2ePro/adminhtml_common_buy_order_view_item'));
     $this->setChild('item_edit', $this->getLayout()->createBlock('M2ePro/adminhtml_order_item_edit'));
     $this->setChild('log', $this->getLayout()->createBlock('M2ePro/adminhtml_order_view_log_grid'));
     return parent::_beforeToHtml();
 }
开发者ID:technomagegithub,项目名称:magento,代码行数:32,代码来源:Form.php


示例12: _beforeToHtml

 protected function _beforeToHtml()
 {
     parent::_beforeToHtml();
     // --------------------------------------
     $listing = Mage::helper('M2ePro/Component_Ebay')->getCachedObject('Listing', $this->getRequest()->getParam('listing_id'));
     $viewHeaderBlock = $this->getLayout()->createBlock('M2ePro/adminhtml_listing_view_header', '', array('listing' => $listing));
     $this->setChild('view_header', $viewHeaderBlock);
     // --------------------------------------
     // --------------------------------------
     $listingData = Mage::helper('M2ePro/Data_Global')->getValue('temp_data');
     $categoryMode = $this->getData('category_mode');
     $categoryValue = $this->getData('category_value');
     $internalData = $this->getData('internal_data');
     $specifics = $this->getData('specifics');
     $specificBlock = $this->getLayout()->createBlock('M2ePro/adminhtml_ebay_listing_category_specific');
     $specificBlock->setMarketplaceId($listingData['marketplace_id']);
     $specificBlock->setCategoryMode($categoryMode);
     $specificBlock->setCategoryValue($categoryValue);
     if (!empty($internalData)) {
         $specificBlock->setInternalData($internalData);
     }
     if (!empty($specifics)) {
         $specificBlock->setSelectedSpecifics($specifics);
     }
     $this->setChild('category_specific', $specificBlock);
     // --------------------------------------
     // --------------------------------------
     if ($categoryMode == Ess_M2ePro_Model_Ebay_Template_Category::CATEGORY_MODE_EBAY) {
         $this->_selectedCategoryPath = Mage::helper('M2ePro/Component_Ebay_Category_Ebay')->getPath($categoryValue, $listingData['marketplace_id']);
     } else {
         $attributeLabel = Mage::helper('M2ePro/Magento_Attribute')->getAttributeLabel($categoryValue);
         $this->_selectedCategoryPath = Mage::helper('M2ePro')->__('Magento Attribute') . ' > ' . $attributeLabel;
     }
     // --------------------------------------
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:35,代码来源:Specific.php


示例13: _prepareLayout

 protected function _prepareLayout()
 {
     if ($this->_blockGroup && $this->_controller && $this->_mode) {
         $this->setChild('form', $this->getLayout()->createBlock($this->_blockGroup . '_Block_' . str_replace(' ', '_', ucwords(str_replace('_', ' ', $this->_controller . '_' . $this->_mode))) . '_Form'));
     }
     return parent::_prepareLayout();
 }
开发者ID:relue,项目名称:magento2,代码行数:7,代码来源:Container.php


示例14: _beforeToHtml

 protected function _beforeToHtml()
 {
     if (is_null($this->compatibilityType)) {
         throw new LogicException('Compatibility type was not set.');
     }
     return parent::_beforeToHtml();
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:7,代码来源:Add.php


示例15: __construct

 /**
  * Initialize button
  */
 public function __construct()
 {
     $this->_controller = 'adminhtml_urlrewrite';
     $this->_headerText = $this->__('URL Redirect');
     parent::__construct();
     $this->_addButton('back', array('label' => $this->__('Back'), 'onclick' => sprintf("setLocation('%s')", $this->getBackUrl()), 'class' => 'back'), -1);
 }
开发者ID:QiuLihua83,项目名称:magento-enterprise-1.13.1.0,代码行数:10,代码来源:Selector.php


示例16: _prepareLayout

 protected function _prepareLayout()
 {
     $��� = $this->{"_getSlider"}()->{"getStyle"}();
     switch ($���) {
         case WP_AdvancedSlider_Model_Source_Style::STYLE_STANDARD:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(115) . chr(116) . chr(97) . chr(110) . chr(100) . chr(97) . chr(114) . chr(100));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_NICOLE:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(110) . chr(105) . chr(99) . chr(111) . chr(108) . chr(101));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_KRISTA:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(107) . chr(114) . chr(105) . chr(115) . chr(116) . chr(97));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_XANDRA:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(120) . chr(97) . chr(110) . chr(100) . chr(114) . chr(97));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_TRISHA:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(116) . chr(114) . chr(105) . chr(115) . chr(104) . chr(97));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_SAMANTA:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(115) . chr(97) . chr(109) . chr(97) . chr(110) . chr(116) . chr(97));
             break;
         case WP_AdvancedSlider_Model_Source_Style::STYLE_AMANDA:
             $���� = $this->{"getLayout"}()->{"createBlock"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(114) . chr(47) . chr(97) . chr(100) . chr(109) . chr(105) . chr(110) . chr(104) . chr(116) . chr(109) . chr(108) . chr(95) . chr(115) . chr(108) . chr(105) . chr(100) . chr(101) . chr(115) . chr(95) . chr(101) . chr(100) . chr(105) . chr(116) . chr(95) . chr(116) . chr(97) . chr(98) . chr(95) . chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115) . chr(95) . chr(97) . chr(109) . chr(97) . chr(110) . chr(100) . chr(97));
             break;
     }
     if ($this->{"_getSlide"}()->{"getId"}()) {
         $����� = unserialize($this->{"_getSlide"}()->{"getStyleOptions"}());
         $����->{"setOptions"}($�����);
     } else {
         $����->{"setOptionsDefault"}();
     }
     $this->{"setChild"}(chr(97) . chr(100) . chr(118) . chr(97) . chr(110) . chr(99) . chr(101) . chr(100) . chr(95) . chr(111) . chr(112) . chr(116) . chr(105) . chr(111) . chr(110) . chr(115), $����);
     return parent::_prepareLayout();
 }
开发者ID:sshegde123,项目名称:wmp8,代码行数:35,代码来源:Advanced.php


示例17: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('searchindex/validation/container.phtml');
     $this->_controller = 'adminhtml_validation';
     $this->_headerText = $this->__('Search Validation');
 }
开发者ID:vishalpatel14,项目名称:indiankalaniketan,代码行数:7,代码来源:Validation.php


示例18: _prepareLayout

 protected function _prepareLayout()
 {
     $this->_addButton('back_button', array('label' => Mage::helper('seosuite')->__('Back'), 'onclick' => "setLocation('{$this->getUrl('*/*/index')}')", 'class' => 'back'));
     $this->_addButton('generate', array('label' => Mage::helper('seosuite')->__('Generate'), 'onclick' => "setLocation('{$this->getUrl('*/*/generate')}')", 'class' => 'generate'));
     $this->setChild('grid', $this->getLayout()->createBlock('mageworx/seosuite_report_product_duplicate_view_grid', 'seosuite.report.product.duplicate.view.grid'));
     return parent::_prepareLayout();
 }
开发者ID:protechhelp,项目名称:gamamba,代码行数:7,代码来源:View.php


示例19: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('supportContainer');
     $this->_blockGroup = 'M2ePro';
     $this->_controller = 'adminhtml';
     $this->_mode = 'support';
     //------------------------------
     // Set header text
     //------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('Support');
     //------------------------------
     // Set template
     //------------------------------
     $this->setTemplate('M2ePro/support.phtml');
     //------------------------------
     // Set buttons actions
     //------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('add');
     $this->removeButton('save');
     $this->removeButton('edit');
     $this->_addButton('goto_cmd', array('label' => 'CMD', 'onclick' => 'setLocation(\'' . $this->getUrl('*/adminhtml_cmd/index') . '\')', 'class' => 'button_link cmd', 'style' => is_null($this->getRequest()->getParam('show_cmd')) ? 'display: none;' : ''));
     $this->_addButton('goto_about', array('label' => Mage::helper('M2ePro')->__('About'), 'onclick' => 'setLocation(\'' . $this->getUrl('*/adminhtml_about/index') . '\')', 'class' => 'button_link'));
     $videoLink = Mage::helper('M2ePro/Module')->getConfig()->getGroupValue('/video_tutorials/', 'baseurl');
     $this->_addButton('goto_video_tutorials', array('label' => Mage::helper('M2ePro')->__('Video Tutorials'), 'onclick' => 'window.open(\'' . $videoLink . '\', \'_blank\'); return false;', 'class' => 'button_link'));
     $docsLink = Mage::helper('M2ePro/Module')->getConfig()->getGroupValue('/documentation/', 'baseurl');
     $this->_addButton('goto_docs', array('label' => Mage::helper('M2ePro')->__('Documentation'), 'onclick' => 'window.open(\'' . $docsLink . '\', \'_blank\'); return false;', 'class' => 'button_link'));
     $this->_addButton('reset', array('label' => Mage::helper('M2ePro')->__('Refresh'), 'onclick' => 'SupportHandlerObj.reset_click()', 'class' => 'reset'));
     //------------------------------
 }
开发者ID:xiaoguizhidao,项目名称:beut,代码行数:35,代码来源:Support.php


示例20: _toHtml

 protected function _toHtml()
 {
     $connRead = Mage::getSingleton('core/resource')->getConnection('core_read');
     $migrationTable = Mage::getSingleton('core/resource')->getTableName('m2epro_migration_v6');
     $html = $connRead->select()->from($migrationTable, 'data')->where('`component` = \'*\'')->where('`group` = \'notes\'')->query()->fetchColumn();
     return parent::_toHtml() . $html;
 }
开发者ID:technomagegithub,项目名称:magento,代码行数:7,代码来源:Notes.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP Mage_Adminhtml_Block_Widget_Form类代码示例发布时间:2022-05-23
下一篇:
PHP Mage_Adminhtml_Block_Widget类代码示例发布时间: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