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


PHP Mage_Core_Block_Template::_afterToHtml方法代码示例

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


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

示例1: _afterToHtml

 protected function _afterToHtml($html)
 {
     if ($this->_unregUrlStore) {
         $this->_unregUrlStore = false;
         Mage::unregister('url_store');
     }
     Mage::app()->setCurrentStore($this->_oldStoreId);
     return parent::_afterToHtml($html);
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:9,代码来源:Products.php

示例2: _afterToHtml

 /**
  * @param string $html
  * @return string
  */
 public function _afterToHtml($html)
 {
     /*
      * after block is rendered we should clear relevant checkout session fields to avoid
      * falsy interpretation on further checkout passes
      */
     // do not unset mandate status as we need it in further processing
     $this->getFactory()->getSingletonCheckoutSession()->unsetData('payone_sepa_mandate_text');
     return parent::_afterToHtml($html);
 }
开发者ID:kirchbergerknorr,项目名称:payone-magento,代码行数:14,代码来源:SepaMandate.php

示例3: _afterToHtml

 protected function _afterToHtml($html)
 {
     /*
     Varien_Data_Form::setFieldsetRenderer(
         $this->_oldFieldsetRenderer
     );
     Varien_Data_Form::setFieldsetElementRenderer(
         $this->_oldFieldsetElementRenderer
     );
     */
     if ($this->_unregUrlStore) {
         $this->_unregUrlStore = false;
         Mage::unregister('url_store');
     }
     Mage::app()->setCurrentStore($this->_oldStoreId);
     return parent::_afterToHtml($html);
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:17,代码来源:Product.php

示例4: _afterToHtml

 /**
  * Processing block html after rendering
  *
  * @param   string $html
  * @return  string
  */
 protected function _afterToHtml($html)
 {
     return parent::_afterToHtml($html);
     // TODO: Change the autogenerated stub
 }
开发者ID:skvskv-php-self-education,项目名称:MagentoTraining,代码行数:11,代码来源:Helloworld.php

示例5: _afterToHtml

 protected function _afterToHtml($html)
 {
     $this->_getCoreSession()->unsetData('login_form_data');
     return parent::_afterToHtml($html);
 }
开发者ID:billadams,项目名称:forever-frame,代码行数:5,代码来源:Login.php

示例6: _afterToHtml

 protected function _afterToHtml($html)
 {
     $this->unsetFormData();
     return parent::_afterToHtml($html);
 }
开发者ID:rajarshc,项目名称:Rooja,代码行数:5,代码来源:Edit.php

示例7: _afterToHtml

 /**
  * Processing block html after rendering
  *
  * @param   string $html
  *
  * @return  string
  */
 protected function _afterToHtml($html)
 {
     Mage::helper('integernet_piwik')->getHasQuoteUpdate(true);
     return parent::_afterToHtml($html);
 }
开发者ID:viniciusferreira,项目名称:Piwik,代码行数:12,代码来源:Track.php

示例8: _afterToHtml

 /**
  * after block is rendered we should clear relevant checkout session fields to avoid
  * falsy interpretation on further checkout passes
  *
  * @param string $html
  * @return string
  */
 protected function _afterToHtml($html)
 {
     $this->getCheckoutSession()->unsPayoneSepaMandateDownloadEnabled();
     $this->getCheckoutSession()->unsPayoneSepaMandateIdentification();
     return parent::_afterToHtml($html);
 }
开发者ID:kirchbergerknorr,项目名称:payone-magento,代码行数:13,代码来源:SepaMandatePdfLink.php

示例9: _afterToHtml

 /**
  * after block is rendered we should clear relevant checkout session fields to avoid
  * falsy interpretation on further checkout passes
  *
  * @param string $html
  * @return string
  */
 protected function _afterToHtml($html)
 {
     $this->getCheckoutSession()->unsPayoneBarzahlenHtml();
     return parent::_afterToHtml($html);
 }
开发者ID:kirchbergerknorr,项目名称:payone-magento,代码行数:12,代码来源:Barzahlen.php


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