Class Mage_Sales_Model_Config_Ordered
Configuration class for ordered items
- Varien_Simplexml_Config
- Mage_Core_Model_Config_Base
- Mage_Sales_Model_Config_Ordered
Direct known subclasses
Mage_Sales_Model_Order_Total_Config_Base, Mage_Sales_Model_Quote_Address_Total_CollectorIndirect known subclasses
Mage_Sales_Model_Order_Creditmemo_Config, Mage_Sales_Model_Order_Invoice_Config, Mage_Sales_Model_Quote_Address_Total_Nominal_Collector
Abstract
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Config/Ordered.php
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Config/Ordered.php
protected
|
|
abstract protected
mixed
|
#
_initModelInstance( string $class, string $totalCode, array $totalConfig )
Init model class by configuration |
protected
array
|
#
_prepareConfigArray( string $code,
Prepare configuration array for total model |
protected
array
|
#
_getSortedCollectorCodes( )
Aggregate before/after information from all items and sort totals based on this data |
protected
|
#
_initCollectors( )
Initialize collectors array. Collectors array is array of total models ordered based on configuration settings |
protected
integer
|
|
protected
integer
|
__construct()
|
protected
string|null
|
$_collectorsCacheKey | null |
#
Cache key for collectors |
protected
string|null
|
$_totalsConfigNode | null |
#
Configuration path where to collect registered totals |
protected
array
|
$_models | array() |
#
Prepared models |
protected
array
|
$_modelsConfig | array() |
#
Models configuration |
protected
array
|
$_collectors | array() |
#
Sorted models |