本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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
}
示例5: _afterToHtml
protected function _afterToHtml($html)
{
$this->_getCoreSession()->unsetData('login_form_data');
return parent::_afterToHtml($html);
}
示例6: _afterToHtml
protected function _afterToHtml($html)
{
$this->unsetFormData();
return parent::_afterToHtml($html);
}
示例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);
}
示例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);
}
示例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);
}