コード例 #1
0
ファイル: Info.php プロジェクト: votanlean/Magento-Pruebas
 /**
  * (non-PHPdoc)
  * @see app/code/core/Mage/Core/Block/Mage_Core_Block_Template#_toHtml()
  */
 protected function _toHtml()
 {
     if ($this->getForm()->getMethodCode() != self::PAYMENT_METHOD_CODE) {
         return;
     }
     return parent::_toHtml();
 }
コード例 #2
0
 public function _toHtml()
 {
     if ($this->getMethod()->getCode() == 'sofortvorkasse') {
         $this->setTemplate('pnsofortueberweisung/info/sofortvorkasse.phtml');
     }
     return parent::_toHtml();
 }
コード例 #3
0
 public function _toHtml()
 {
     return parent::_toHtml();
 }
コード例 #4
0
ファイル: Info.php プロジェクト: xiaoguizhidao/emporiodopara
 public function toPdf()
 {
     $this->setTemplate('boleto_ultimate/info_pdf.phtml');
     return parent::_toHtml();
 }
コード例 #5
0
ファイル: Info.php プロジェクト: joebushi/magento-mirror
 /**
  * Add cc block if needed
  *
  * @return string
  */
 protected function _toHtml()
 {
     $this->_addCcInfoBlock();
     return parent::_toHtml();
 }