Mage_AmazonPayments_Block_Asp_Shortcut Class Reference

Inheritance diagram for Mage_AmazonPayments_Block_Asp_Shortcut:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getCheckoutUrl ()
 getButtonImageUrl ()
 _toHtml ()


Detailed Description

Definition at line 34 of file Shortcut.php.


Member Function Documentation

_toHtml (  ) 

Render block HTML

Returns:
string

Reimplemented from Mage_Core_Block_Template.

Definition at line 46 of file Shortcut.php.

00047     {
00048         if (Mage::getStoreConfigFlag('payment/amazonpayments_asp/active')
00049             && Mage::getSingleton('checkout/session')->getQuote()->validateMinimumAmount()) {
00050             return parent::_toHtml();
00051         }
00052 
00053         return '';
00054     }

getButtonImageUrl (  ) 

Definition at line 41 of file Shortcut.php.

00042     {
00043         return Mage::getStoreConfig('payment/amazonpayments_asp/pay_now_button_image_url');
00044     }

getCheckoutUrl (  ) 

Definition at line 36 of file Shortcut.php.

00037     {
00038         return $this->getUrl('amazonpayments/asp/checkout');
00039     }


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

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