Public Member Functions | |
getPaymentInfo () | |
Protected Member Functions | |
_toHtml () |
Definition at line 34 of file Info.php.
_toHtml | ( | ) | [protected] |
Render block HTML
Reimplemented from Mage_Core_Block_Template.
Definition at line 50 of file Info.php.
00051 { 00052 $html = ''; 00053 if ($block = $this->getChild($this->_getInfoBlockName())) { 00054 $html = $block->toHtml(); 00055 } 00056 return $html; 00057 }
getPaymentInfo | ( | ) |
Retrieve payment info model
Reimplemented from Mage_Payment_Block_Info_Container.
Definition at line 41 of file Info.php.
00042 { 00043 $info = Mage::getSingleton('checkout/session')->getQuote()->getPayment(); 00044 if ($info->getMethod()) { 00045 return $info; 00046 } 00047 return false; 00048 }