Class Mage_Paypal_Block_Express_Review

Description

Paypal Express Onepage checkout block

Located in /Paypal/Block/Express/Review.php (line 34)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Paypal_Block_Express_Review
Variable Summary
Method Summary
string getCarrierName ($carrierCode $carrierCode)
string renderShippingRateOption (Varien_Object $rate, [string $format = '%s - %s%s'], [string $inclTaxFormat = ' (%s %s)'])
string renderShippingRateValue ( $rate)
void setPaypalActionPrefix ( $prefix)
string _formatPrice (float $price)
bool _getShippingPrice (float $price, bool $isInclTax)
Variables
Methods
getBillingAddress (line 72)

Return quote billing address

  • access: public
Mage_Sales_Model_Quote_Address getBillingAddress ()
getCarrierName (line 107)

Return carrier name from config, base on carrier code

  • access: public
string getCarrierName ($carrierCode $carrierCode)
  • $carrierCode $carrierCode: string
getCurrentShippingRate (line 157)

Getter for current shipping rate

  • access: public
Mage_Sales_Model_Quote_Address_Rate getCurrentShippingRate ()
getShippingAddress (line 82)

Return quote shipping address

  • access: public
Mage_Sales_Model_Quote_Address getShippingAddress ()
renderAddress (line 96)

Get HTML output for specified address

  • access: public
string renderAddress (Mage_Sales_Model_Quote_Address $address)
renderShippingRateOption (line 137)

Get shipping rate code title and its price or error message

  • access: public
string renderShippingRateOption (Varien_Object $rate, [string $format = '%s - %s%s'], [string $inclTaxFormat = ' (%s %s)'])
  • Varien_Object $rate
  • string $format
  • string $inclTaxFormat
renderShippingRateValue (line 121)

Get either shipping rate code or empty value on error

  • access: public
string renderShippingRateValue ( $rate)
  • Varien_Object $rate
setPaypalActionPrefix (line 165)

Set paypal actions prefix

  • access: public
void setPaypalActionPrefix ( $prefix)
  • $prefix
setQuote (line 61)

Quote object setter

  • access: public
Mage_Paypal_Block_Express_Review setQuote ( $quote)
_beforeToHtml (line 199)

Retrieve payment method and assign additional template values

  • access: protected

Redefinition of:
Mage_Core_Block_Abstract::_beforeToHtml()
Before rendering html, but after trying to load cache
_formatPrice (line 189)

Format price base on store convert price method

  • access: protected
string _formatPrice (float $price)
  • float $price
_getShippingPrice (line 178)

Return formatted shipping price

  • access: protected
bool _getShippingPrice (float $price, bool $isInclTax)
  • float $price
  • bool $isInclTax

Inherited Methods

Inherited From Mage_Core_Block_Template

Mage_Core_Block_Template::assign()
Mage_Core_Block_Template::fetchView()
Mage_Core_Block_Template::getArea()
Mage_Core_Block_Template::getBaseUrl()
Mage_Core_Block_Template::getCacheKeyInfo()
Mage_Core_Block_Template::getDirectOutput()
Mage_Core_Block_Template::getJsUrl()
Mage_Core_Block_Template::getObjectData()
Mage_Core_Block_Template::getShowTemplateHints()
Mage_Core_Block_Template::getTemplate()
Mage_Core_Block_Template::getTemplateFile()
Mage_Core_Block_Template::renderView()
Mage_Core_Block_Template::setScriptPath()
Mage_Core_Block_Template::setTemplate()
Mage_Core_Block_Template::_construct()
Mage_Core_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::addToChildGroup()
Mage_Core_Block_Abstract::addToParentGroup()
Mage_Core_Block_Abstract::append()
Mage_Core_Block_Abstract::countChildren()
Mage_Core_Block_Abstract::escapeHtml()
Mage_Core_Block_Abstract::escapeUrl()
Mage_Core_Block_Abstract::formatDate()
Mage_Core_Block_Abstract::formatTime()
Mage_Core_Block_Abstract::getAction()
Mage_Core_Block_Abstract::getAnonSuffix()
Mage_Core_Block_Abstract::getBlockAlias()
Mage_Core_Block_Abstract::getBlockHtml()
Mage_Core_Block_Abstract::getCacheKey()
Mage_Core_Block_Abstract::getCacheKeyInfo()
Mage_Core_Block_Abstract::getCacheLifetime()
Mage_Core_Block_Abstract::getCacheTags()
Mage_Core_Block_Abstract::getChild()
Mage_Core_Block_Abstract::getChildChildHtml()
Mage_Core_Block_Abstract::getChildData()
Mage_Core_Block_Abstract::getChildGroup()
Mage_Core_Block_Abstract::getChildHtml()
Mage_Core_Block_Abstract::getHelper()
Mage_Core_Block_Abstract::getIsAnonymous()
Mage_Core_Block_Abstract::getLayout()
Mage_Core_Block_Abstract::getMessagesBlock()
Mage_Core_Block_Abstract::getModuleName()
Mage_Core_Block_Abstract::getNameInLayout()
Mage_Core_Block_Abstract::getParentBlock()
Mage_Core_Block_Abstract::getRequest()
Mage_Core_Block_Abstract::getSkinUrl()
Mage_Core_Block_Abstract::getSortedChildBlocks()
Mage_Core_Block_Abstract::getSortedChildren()
Mage_Core_Block_Abstract::getUrl()
Mage_Core_Block_Abstract::getUrlBase64()
Mage_Core_Block_Abstract::getUrlEncoded()
Mage_Core_Block_Abstract::helper()
Mage_Core_Block_Abstract::htmlEscape()
Mage_Core_Block_Abstract::insert()
Mage_Core_Block_Abstract::jsQuoteEscape()
Mage_Core_Block_Abstract::setAnonSuffix()
Mage_Core_Block_Abstract::setAttribute()
Mage_Core_Block_Abstract::setBlockAlias()
Mage_Core_Block_Abstract::setChild()
Mage_Core_Block_Abstract::setFrameTags()
Mage_Core_Block_Abstract::setIsAnonymous()
Mage_Core_Block_Abstract::setLayout()
Mage_Core_Block_Abstract::setMessagesBlock()
Mage_Core_Block_Abstract::setNameInLayout()
Mage_Core_Block_Abstract::setParentBlock()
Mage_Core_Block_Abstract::stripTags()
Mage_Core_Block_Abstract::toHtml()
Mage_Core_Block_Abstract::unsetCallChild()
Mage_Core_Block_Abstract::unsetChild()
Mage_Core_Block_Abstract::unsetChildren()
Mage_Core_Block_Abstract::urlEscape()
Mage_Core_Block_Abstract::_afterCacheUrl()
Mage_Core_Block_Abstract::_afterToHtml()
Mage_Core_Block_Abstract::_beforeCacheUrl()
Mage_Core_Block_Abstract::_beforeChildToHtml()
Mage_Core_Block_Abstract::_beforeToHtml()
Mage_Core_Block_Abstract::_construct()
Mage_Core_Block_Abstract::_getChildHtml()
Mage_Core_Block_Abstract::_getUrlModel()
Mage_Core_Block_Abstract::_getUrlModelClass()
Mage_Core_Block_Abstract::_loadCache()
Mage_Core_Block_Abstract::_prepareLayout()
Mage_Core_Block_Abstract::_saveCache()
Mage_Core_Block_Abstract::_toHtml()
Mage_Core_Block_Abstract::__()
Class Constants

Documentation generated on Fri, 11 Feb 2011 17:11:20 +0200 by phpDocumentor 1.4.3