Public Member Functions | |
getInfo () | |
getMethod () | |
toPdf () | |
Protected Member Functions | |
_construct () |
Definition at line 31 of file Info.php.
_construct | ( | ) | [protected] |
Internal constructor, that is called from real constructor
Please override this one instead of overriding real __construct constructor
Please override this one instead of overriding real __construct constructor
Reimplemented from Mage_Core_Block_Abstract.
Reimplemented in Mage_Payment_Block_Info_Cc, Mage_Payment_Block_Info_Ccsave, Mage_Payment_Block_Info_Checkmo, Mage_Payment_Block_Info_Purchaseorder, Mage_Paypal_Block_Express_Info, Mage_PaypalUk_Block_Direct_Info, and Mage_PaypalUk_Block_Express_Info.
Definition at line 33 of file Info.php.
00034 { 00035 parent::_construct(); 00036 $this->setTemplate('payment/info/default.phtml'); 00037 }
getInfo | ( | ) |
Retrieve info model
Definition at line 44 of file Info.php.
00045 { 00046 $info = $this->getData('info'); 00047 if (!($info instanceof Mage_Payment_Model_Info)) { 00048 Mage::throwException($this->__('Can not retrieve payment info model object.')); 00049 } 00050 return $info; 00051 }
getMethod | ( | ) |
toPdf | ( | ) |
Reimplemented in Mage_Payment_Block_Info_Cc, Mage_Payment_Block_Info_Ccsave, Mage_Payment_Block_Info_Checkmo, Mage_Payment_Block_Info_Purchaseorder, Mage_Paypal_Block_Express_Info, Mage_PaypalUk_Block_Direct_Info, and Mage_PaypalUk_Block_Express_Info.
Definition at line 63 of file Info.php.
00064 { 00065 $this->setTemplate('payment/info/pdf/default.phtml'); 00066 return $this->toHtml(); 00067 }