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


PHP Ess_M2ePro_Block_Adminhtml_Widget_Container::__construct方法代码示例

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


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

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('ebayListingCategoryMode');
     //------------------------------
     //------------------------------
     $listingId = $this->getRequest()->getParam('listing_id');
     $listing = Mage::helper('M2ePro/Component_Ebay')->getCachedObject('Listing', $listingId);
     $listingAdditionalData = $listing->getData('additional_data');
     $listingAdditionalData = json_decode($listingAdditionalData, true);
     //------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('Set Your eBay Categories');
     $url = $this->getUrl('*/adminhtml_ebay_listing_productAdd', array('step' => 2, '_current' => true));
     if (Mage::helper('M2ePro/View_Ebay')->isSimpleMode()) {
         $url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true));
     }
     $productAddSessionData = Mage::helper('M2ePro/Data_Session')->getValue('ebay_listing_product_add');
     if (isset($productAddSessionData['show_settings_step'])) {
         !(bool) $productAddSessionData['show_settings_step'] && ($url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true)));
     } elseif (isset($listingAdditionalData['show_settings_step'])) {
         !(bool) $listingAdditionalData['show_settings_step'] && ($url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true)));
     }
     if (!$this->getRequest()->getParam('without_back')) {
         $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $url . '\');'));
     }
     $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "\$('categories_mode_form').submit();"));
     $this->setTemplate('M2ePro/ebay/listing/category/mode.phtml');
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:30,代码来源:Mode.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('commonTemplate');
     $this->_blockGroup = 'M2ePro';
     $this->_controller = 'adminhtml_common_template';
     // ---------------------------------------
     // Set header text
     // ---------------------------------------
     $this->_headerText = '';
     // ---------------------------------------
     // Set buttons actions
     // ---------------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('save');
     $this->removeButton('edit');
     // ---------------------------------------
     // ---------------------------------------
     $this->_addButton('add', array('label' => Mage::helper('M2ePro')->__('Add Policy'), 'onclick' => '', 'class' => 'add add-button-drop-down'));
     // ---------------------------------------
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:25,代码来源:Template.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('ebayListingSearch');
     //------------------------------
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:8,代码来源:Search.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('ebayListingHelp');
     //------------------------------
     $this->setTemplate('M2ePro/ebay/listing/help.phtml');
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:9,代码来源:Help.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('listingProductReview');
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('Congratulations');
     $this->setTemplate('M2ePro/common/listing/add/review.phtml');
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:10,代码来源:Review.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayMigrationToV6Breadcrumb');
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('M2E Pro Migration to v. %version%', Mage::helper('M2ePro/Module')->getVersion());
     $this->setTemplate('widget/form/container.phtml');
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:10,代码来源:Notes.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayOrderViewForm');
     $this->setTemplate('M2ePro/ebay/order.phtml');
     // ---------------------------------------
     $this->order = Mage::helper('M2ePro/Data_Global')->getValue('temp_data');
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:10,代码来源:Form.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('amazonOrderViewForm');
     $this->setTemplate('M2ePro/common/amazon/order.phtml');
     //------------------------------
     /** @var $order Ess_M2ePro_Model_Order */
     $this->order = Mage::helper('M2ePro/Data_Global')->getValue('temp_data');
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:11,代码来源:Form.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonListingAddNewAsin');
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('New ASIN/ISBN Creation');
     $url = $this->getUrl('*/*/index', array('step' => 1, '_current' => true));
     $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $url . '\');'));
     $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "descriptionTemplateModeFormSubmit()"));
     $this->setTemplate('M2ePro/common/amazon/listing/add/new_asin.phtml');
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:13,代码来源:NewAsin.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingCategorySameSpecific');
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('eBay Same Categories');
     $this->setTemplate('M2ePro/ebay/listing/category/same/specific.phtml');
     $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 2)) . '\');'));
     $saveUrl = $this->getUrl('*/*/*', array('step' => 3, '_current' => true));
     $this->_addButton('save', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "EbayListingCategorySpecificHandlerObj.submitData('{$saveUrl}');"));
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:13,代码来源:Specific.php

示例11: __construct

    public function __construct()
    {
        parent::__construct();
        // Initialization block
        // ---------------------------------------
        $this->setId('ebayListingCategorySameChooser');
        // ---------------------------------------
        $this->_headerText = Mage::helper('M2ePro')->__('eBay Same Categories');
        $this->setTemplate('M2ePro/ebay/listing/category/same/chooser.phtml');
        $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 1)) . '\');'));
        $onClick = <<<JS
EbayListingCategoryChooserHandlerObj.submitData(
    '{$this->getUrl('*/*/*', array('step' => 2, '_current' => true))}'
);
JS;
        $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => $onClick));
    }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:17,代码来源:Chooser.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingCategorySpecificWrapper');
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('eBay Categories Specifics');
     // ---------------------------------------
     $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back back_category_button', 'onclick' => 'EbayListingCategorySpecificWrapperHandlerObj.renderPrevCategory();'));
     // ---------------------------------------
     // ---------------------------------------
     $this->_addButton('continue', array('id' => 'save_button', 'label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next continue specifics_buttons', 'onclick' => "EbayListingCategorySpecificWrapperHandlerObj.save();"));
     // ---------------------------------------
     // ---------------------------------------
     $this->_addButton('next_category_header_button', array('id' => 'next_category_header_button', 'label' => Mage::helper('M2ePro')->__('Next Category'), 'class' => 'next next_category_button specifics_buttons', 'onclick' => "EbayListingCategorySpecificWrapperHandlerObj.renderNextCategory();"));
     // ---------------------------------------
     $this->setTemplate('M2ePro/ebay/listing/category/specific/wrapper.phtml');
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:19,代码来源:Wrapper.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayConfigurationCategoryEditPrimary');
     // ---------------------------------------
     // Set header text
     // ---------------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('Edit eBay Primary Category');
     // ---------------------------------------
     $this->setTemplate('M2ePro/ebay/configuration/category/primary.phtml');
     $this->removeButton('save');
     $this->removeButton('reset');
     $this->removeButton('back');
     $backUrl = $this->getUrl('*/adminhtml_ebay_category/index');
     $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'onclick' => 'setLocation(\'' . $backUrl . '\');', 'class' => 'back'));
     $this->_addButton('save_and_continue', array('label' => Mage::helper('M2ePro')->__('Save And Continue Edit'), 'onclick' => 'EbayConfigurationCategoryHandlerObj.save_click(\'primary\', true)', 'class' => 'save'));
     $this->_addButton('save', array('label' => Mage::helper('M2ePro')->__('Save'), 'onclick' => 'EbayConfigurationCategoryHandlerObj.save_click(\'primary\', false)', 'class' => 'save'));
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:20,代码来源:Primary.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionCategorySpecificAdd');
     // ---------------------------------------
     // Set buttons actions
     // ---------------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('add');
     $this->removeButton('save');
     $this->removeButton('edit');
     // ---------------------------------------
     // ---------------------------------------
     $this->setTemplate('M2ePro/common/amazon/template/description/category/specific/add.phtml');
     // ---------------------------------------
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:20,代码来源:Add.php

示例15: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('commonConfiguration');
     //------------------------------
     // Set header text
     //------------------------------
     $this->_headerText = Mage::helper('M2ePro')->__('Configuration');
     //------------------------------
     // Set buttons actions
     //------------------------------
     $this->removeButton('back');
     $this->removeButton('delete');
     $this->removeButton('add');
     $this->removeButton('save');
     $this->removeButton('edit');
     //------------------------------
     $this->setTemplate('M2ePro/common/component/container.phtml');
     //------------------------------
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:22,代码来源:Configuration.php


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