Class Mage_Payment_Helper_Data

Description

Payment module base helper

Located in /Payment/Helper/Data.php (line 32)

Mage_Core_Helper_Abstract
   |
   --Mage_Payment_Helper_Data
Class Constant Summary
XML_PATH_PAYMENT_GROUPS = 'global/payment/groups'
Method Summary
array getBillingAgreementMethods ([mixed $store = null], [Mage_Sales_Model_Quote $quote = null])
array getPaymentMethodList ([bool $sorted = true], [bool $asLabelValue = false], [bool $withGroups = false], [ $store = null])
array getPaymentMethods ([mixed $store = null])
array getRecurringProfileMethods ([mixed $store = null])
array getStoreMethods ([mixed $store = null], [Mage_Sales_Model_Quote $quote = null])
void _sortMethods ( $a,  $b)
Variables
Methods
getAllBillingAgreementMethods (line 252)

Retrieve all billing agreement methods (code and label)

  • access: public
array getAllBillingAgreementMethods ()
getBillingAgreementMethods (line 138)

Retrieve available billing agreement methods

  • access: public
array getBillingAgreementMethods ([mixed $store = null], [Mage_Sales_Model_Quote $quote = null])
getInfoBlock (line 117)

Retrieve payment information block

  • access: public
getMethodFormBlock (line 100)

Retreive payment method form html

  • access: public
  • Mage_Payment_Model_Abstract $method
getMethodInstance (line 43)

Retrieve method model object

  • access: public
Mage_Payment_Model_Method_Abstract|false getMethodInstance (string $code)
  • string $code
getPaymentMethodList (line 199)

Retrieve all payment methods list as an array

Possible output: 1) assoc array as

  • access: public
array getPaymentMethodList ([bool $sorted = true], [bool $asLabelValue = false], [bool $withGroups = false], [ $store = null])
  • bool $sorted
  • bool $asLabelValue
  • bool $withGroups
  • $store
getPaymentMethods (line 173)

Retrieve all payment methods

  • access: public
array getPaymentMethods ([mixed $store = null])
  • mixed $store
getRecurringProfileMethods (line 155)

Get payment methods that implement recurring profilez management

  • access: public
array getRecurringProfileMethods ([mixed $store = null])
  • mixed $store
getStoreMethods (line 60)

Get and sort available payment methods for specified or current store

array structure: $index => Varien_Simplexml_Element

  • access: public
array getStoreMethods ([mixed $store = null], [Mage_Sales_Model_Quote $quote = null])
_sortMethods (line 86)
  • access: protected
void _sortMethods ( $a,  $b)
  • $a
  • $b

Inherited Methods

Inherited From Mage_Core_Helper_Abstract

Mage_Core_Helper_Abstract::escapeHtml()
Mage_Core_Helper_Abstract::escapeUrl()
Mage_Core_Helper_Abstract::getLayout()
Mage_Core_Helper_Abstract::htmlEscape()
Mage_Core_Helper_Abstract::isModuleEnabled()
Mage_Core_Helper_Abstract::isModuleOutputEnabled()
Mage_Core_Helper_Abstract::jsQuoteEscape()
Mage_Core_Helper_Abstract::setLayout()
Mage_Core_Helper_Abstract::stripTags()
Mage_Core_Helper_Abstract::translateArray()
Mage_Core_Helper_Abstract::urlDecode()
Mage_Core_Helper_Abstract::urlEncode()
Mage_Core_Helper_Abstract::urlEscape()
Mage_Core_Helper_Abstract::_cleanCache()
Mage_Core_Helper_Abstract::_getModuleName()
Mage_Core_Helper_Abstract::_getRequest()
Mage_Core_Helper_Abstract::_getUrl()
Mage_Core_Helper_Abstract::_loadCache()
Mage_Core_Helper_Abstract::_removeCache()
Mage_Core_Helper_Abstract::_saveCache()
Mage_Core_Helper_Abstract::__()
Class Constants
XML_PATH_PAYMENT_GROUPS = 'global/payment/groups' (line 35)
XML_PATH_PAYMENT_METHODS = 'payment' (line 34)

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