Mage_Checkout_Block_Onepage_Payment_Info Class Reference

Inheritance diagram for Mage_Checkout_Block_Onepage_Payment_Info:

Mage_Payment_Block_Info_Container Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getPaymentInfo ()

Protected Member Functions

 _toHtml ()


Detailed Description

Definition at line 34 of file Info.php.


Member Function Documentation

_toHtml (  )  [protected]

Render block HTML

Returns:
string

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

Returns:
Mage_Payment_Model_Info

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:50 2009 for Magento by  doxygen 1.5.8