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


PHP Mage_Adminhtml_Block_Widget_Form_Container::_toHtml方法代码示例

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


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

示例1: _toHtml

 protected function _toHtml()
 {
     $listing = Mage::helper('M2ePro/Component')->getCachedUnknownObject('Listing', $this->getRequest()->getParam('id'));
     $viewHeaderBlock = $this->getLayout()->createBlock('M2ePro/adminhtml_listing_view_header', '', array('listing' => $listing));
     $this->setChild('view_header', $viewHeaderBlock);
     return parent::_toHtml();
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:7,代码来源:SourceMode.php

示例2: _toHtml

    protected function _toHtml()
    {
        $javascript = <<<EOT
        
            <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=xvedUiOsv2sIGuG5Fuh0lk4D"></script>
            <script type="text/javascript">
                function searchLocation() {
                    var city = document.getElementById("storelocator_city").value;
                    var address = document.getElementById("storelocator_address").value; 
                    
                    // 创建地址解析器实例
                    var myGeo = new BMap.Geocoder();
    // 将地址解析结果显示在地图上,并调整地图视野
    myGeo.getPoint(address, function(point){
        if (point) {
            document.getElementById("storelocator_lat").value = point.lat;
            document.getElementById("storelocator_lng").value = point.lng;
            editForm.submit();
        }else{
            alert("The address can not be found!");
        }
    }, city);

   
                }
            </script>
EOT;
        return $javascript . parent::_toHtml();
    }
开发者ID:WesleyDevLab,项目名称:magento-app-v2,代码行数:29,代码来源:Edit.php

示例3: _toHtml

 public function _toHtml()
 {
     $html = parent::_toHtml();
     $switcher = $this->getLayout()->createBlock('adminhtml/store_switcher');
     $switcher->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*/', array('store' => null, '_current' => true)));
     $html = $switcher->toHtml() . $html;
     return $html;
 }
开发者ID:vishalpatel14,项目名称:indiankalaniketan,代码行数:8,代码来源:Edit.php

示例4: _toHtml

    protected function _toHtml()
    {
        $javascriptBefore = <<<JAVASCRIPT
<script type="text/javascript">
EbayListingOtherSynchronizationHandlerObj = new EbayListingOtherSynchronizationHandler();
</script>
JAVASCRIPT;
        return $javascriptBefore . parent::_toHtml();
    }
开发者ID:xiaoguizhidao,项目名称:bb,代码行数:9,代码来源:Edit.php

示例5: _toHtml

 protected function _toHtml()
 {
     $this->_removeButton('delete');
     if (Mage::registry('current_queue') && Mage::registry('current_queue')->getQueueId() && Mage::registry('current_queue')->getQueueStatus() != Mage_Newsletter_Model_Queue::STATUS_NEVER) {
         $this->_removeButton('save');
         $this->_removeButton('reset');
     }
     return parent::_toHtml();
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:9,代码来源:Edit.php

示例6: _toHtml

    protected function _toHtml()
    {
        $javascriptsMain = <<<JAVASCRIPT
<script type="text/javascript">

    Event.observe(window, 'load', function() {
        SynchProgressBarObj = new ProgressBar('synchronization_progress_bar');
        SynchWrapperObj = new AreaWrapper('synchronization_content_container');
    });

</script>
JAVASCRIPT;
        return $javascriptsMain . '<div id="synchronization_progress_bar"></div>' . '<div id="synchronization_content_container">' . parent::_toHtml() . '</div>';
    }
开发者ID:technomagegithub,项目名称:magento,代码行数:14,代码来源:Synchronization.php

示例7: _toHtml

    public function _toHtml()
    {
        $javascriptsMain = <<<JAVASCRIPT
<script type="text/javascript">

    Event.observe(window, 'load', function() {
        MarketplacesProgressBarObj = new ProgressBar('marketplaces_progress_bar');
        MarketplacesWrapperObj = new AreaWrapper('marketplaces_content_container');
        MarketplacesWrapperObj.addDivClearBothToContainer();
    });

</script>
JAVASCRIPT;
        return $javascriptsMain . '<div id="marketplaces_progress_bar"></div>' . '<div id="marketplaces_content_container">' . parent::_toHtml() . '</div>';
    }
开发者ID:naz-ahmed,项目名称:ndap-magento-mirror,代码行数:15,代码来源:Marketplaces.php

示例8: _toHtml

    protected function _toHtml()
    {
        $translations = array();
        $text = 'Inconsistent settings in Revise and Stop rules.';
        $translations[$text] = Mage::helper('M2ePro')->__($text);
        $text = 'Must be greater than "Min".';
        $translations[$text] = Mage::helper('M2ePro')->__($text);
        $translations = json_encode($translations);
        $javascriptBefore = <<<JAVASCRIPT
<script type="text/javascript">
    M2ePro.translator.add({$translations});
    EbayListingOtherSynchronizationHandlerObj = new EbayListingOtherSynchronizationHandler();
</script>
JAVASCRIPT;
        return $javascriptBefore . parent::_toHtml();
    }
开发者ID:technomagegithub,项目名称:magento,代码行数:16,代码来源:Edit.php

示例9: _toHtml

 protected function _toHtml()
 {
     return '<div id="marketplaces_progress_bar"></div>' . '<div id="marketplaces_content_container">' . parent::_toHtml() . '</div>';
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:4,代码来源:Marketplace.php

示例10: _toHtml

 protected function _toHtml()
 {
     $this->_formScripts[] = $this->getChildHtml('mpbackup_backup_js_init');
     return parent::_toHtml();
 }
开发者ID:CE-Webmaster,项目名称:CE-Hub,代码行数:5,代码来源:Create.php

示例11: _toHtml

 protected function _toHtml()
 {
     return $this->getLayout()->createBlock('xtento_orderexport/adminhtml_widget_menu')->setShowWarning(1)->toHtml() . parent::_toHtml();
 }
开发者ID:xiaoguizhidao,项目名称:autotech_design,代码行数:4,代码来源:Edit.php

示例12: _toHtml

 /**
  * Prepare html output
  *
  * @return string
  */
 protected function _toHtml()
 {
     $html = parent::_toHtml();
     $html .= $this->_getPopupHtml();
     return $html;
 }
开发者ID:protechhelp,项目名称:gamamba,代码行数:11,代码来源:Edit.php

示例13: _toHtml

 public function _toHtml()
 {
     $messages = $this->getLayout()->createBlock('helpdesk/adminhtml_ticket_edit_tab_messages')->toHtml();
     return parent::_toHtml() . $messages;
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:5,代码来源:Edit.php


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