Exemple #1
0
 /**
  * (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();
 }
 public function _toHtml()
 {
     if ($this->getMethod()->getCode() == 'sofortvorkasse') {
         $this->setTemplate('pnsofortueberweisung/info/sofortvorkasse.phtml');
     }
     return parent::_toHtml();
 }
 public function _toHtml()
 {
     return parent::_toHtml();
 }
Exemple #4
0
 public function toPdf()
 {
     $this->setTemplate('boleto_ultimate/info_pdf.phtml');
     return parent::_toHtml();
 }
Exemple #5
0
 /**
  * Add cc block if needed
  *
  * @return string
  */
 protected function _toHtml()
 {
     $this->_addCcInfoBlock();
     return parent::_toHtml();
 }