Class Mage_Payment_Model_Config

Description

Payment configuration model

Used for retrieving configuration data by payment models

Located in /Payment/Model/Config.php (line 36)


	
			
Variable Summary
static mixed $_methods
Method Summary
static int compareCcTypes (array $a, array $b)
array getActiveMethods ([mixed $store = null])
array getAllMethods ([mixed $store = null])
array getCcTypes ()
array getMonths ()
array getYears ()
void _getMethod ( $code,  $config, [ $store = null])
Variables
static mixed $_methods (line 38)
  • access: protected
Methods
static method compareCcTypes (line 157)

Statis Method for compare sort order of CC Types

static int compareCcTypes (array $a, array $b)
  • array $a
  • array $b
getActiveMethods (line 46)

Retrieve active system payments

  • access: public
array getActiveMethods ([mixed $store = null])
  • mixed $store
getAllMethods (line 64)

Retrieve all system payments

  • access: public
array getAllMethods ([mixed $store = null])
  • mixed $store
getCcTypes (line 103)

Retrieve array of credit card types

  • access: public
array getCcTypes ()
getMonths (line 123)

Retrieve list of months translation

  • access: public
array getMonths ()
getYears (line 138)

Retrieve array of available years

  • access: public
array getYears ()
_getMethod (line 77)
  • access: protected
void _getMethod ( $code,  $config, [ $store = null])
  • $code
  • $config
  • $store

Documentation generated on Fri, 11 Feb 2011 16:59:14 +0200 by phpDocumentor 1.4.3