示例#1
0
 protected function _toHtml()
 {
     $this->model->setCode($this->getMethodCode());
     $this->_issuer = $this->model->getIssuerOptionArray();
     Mage::dispatchEvent('payment_form_block_to_html_before', array('block' => $this));
     return parent::_toHtml();
 }
示例#2
0
 /**
  * Render the block if needed
  *
  * @return string
  */
 protected function _toHtml()
 {
     if ($this->_isAfterPaymentSave()) {
         $this->setTemplate('paypal/hss/js.phtml');
         return parent::_toHtml();
     }
     if (!$this->_shouldRender) {
         return '';
     }
     return parent::_toHtml();
 }
示例#3
0
 /**
  * Render block HTML
  *
  * @return string
  */
 protected function _toHtml()
 {
     $this->setChild('cards', $this->getCardsBlock());
     $this->setChild('method_form_block', $this->getMethodFormBlock());
     return parent::_toHtml();
 }
示例#4
0
文件: Cc.php 项目: cewolf2002/magento
 /**
  * Render block HTML
  *
  * @return string
  */
 protected function _toHtml()
 {
     Mage::dispatchEvent('payment_form_block_to_html_before', array('block' => $this));
     return parent::_toHtml();
 }
示例#5
0
 /**
  * Render block HTML
  *
  * @return string
  */
 protected function _toHtml()
 {
     $this->setChild('pbridge_iframe', $this->getIframeBlock());
     return parent::_toHtml();
 }
示例#6
0
 protected function _toHtml()
 {
     $this->setTemplate('boleto_ultimate/success.phtml');
     return parent::_toHtml();
 }
示例#7
0
 protected function _toHtml()
 {
     return parent::_toHtml();
 }
示例#8
0
 /**
  * Render the block if needed
  *
  * @return string
  */
 protected function _toHtml()
 {
     if ($this->_isAfterPaymentSave()) {
         return parent::_toHtml();
     }
     if (!$this->_shouldRender) {
         return '';
     }
     return parent::_toHtml();
 }