Class Mage_Sales_Model_Order_Config

Description

Order configuration model

Located in /Sales/Model/Order/Config.php (line 34)

Varien_Simplexml_Config
   |
   --Mage_Core_Model_Config_Base
      |
      --Mage_Sales_Model_Order_Config
Variable Summary
Method Summary
Mage_Sales_Model_Order_Config __construct ()
string getStateDefaultStatus (string $state)
string getStateLabel (string $state)
array getStates ()
array getStateStatuses (mixed $state, [bool $addLabels = true])
array getStatuses ()
string getStatusLabel (string $code)
void _getState ( $state)
void _getStatus ( $status)
Variables
array $_stateStatuses (line 41)

Statuses per state array

  • access: protected
Methods
Constructor __construct (line 45)
  • access: public
Mage_Sales_Model_Order_Config __construct ()

Redefinition of:
Mage_Core_Model_Config_Base::__construct()
Constructor
getInvisibleOnFrontStates (line 188)

Get order states, visible on frontend

  • access: public
array getInvisibleOnFrontStates ()
getStateDefaultStatus (line 66)

Retrieve default status for state

  • access: public
string getStateDefaultStatus (string $state)
  • string $state
getStateLabel (line 96)

State label getter

  • access: public
string getStateLabel (string $state)
  • string $state
getStates (line 123)

Order states getter

  • access: public
array getStates ()
getStateStatuses (line 143)

Retrieve statuses available for state Get all possible statuses, or for specified state, or specified states array Add labels by default. Return plain array of statuses, if no labels.

  • access: public
array getStateStatuses (mixed $state, [bool $addLabels = true])
  • mixed $state
  • bool $addLabels
getStatuses (line 111)

Retrieve all statuses

  • access: public
array getStatuses ()
getStatusLabel (line 83)

Retrieve status label

  • access: public
string getStatusLabel (string $code)
  • string $code
getVisibleOnFrontStates (line 177)

Retrieve states which are visible on front end

  • access: public
array getVisibleOnFrontStates ()
_getState (line 55)
  • access: protected
void _getState ( $state)
  • $state
_getStatus (line 50)
  • access: protected
void _getStatus ( $status)
  • $status

Inherited Methods

Inherited From Mage_Core_Model_Config_Base

Mage_Core_Model_Config_Base::__construct()

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