Class Mage_Shipping_Model_Resource_Carrier_Tablerate
Shipping table rates
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Shipping_Model_Resource_Carrier_Tablerate
Direct known subclasses
Mage_Shipping_Model_Mysql4_Carrier_Tablerate
Package: Mage\Shipping
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/Shipping/Model/Resource/Carrier/Tablerate.php
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/Shipping/Model/Resource/Carrier/Tablerate.php
protected
|
|
public
array|boolean
|
#
getRate(
Return table rate array or false by rate request |
public
|
|
protected
|
|
protected
|
|
protected
string
|
#
_getConditionFullName( string $conditionName )
Return import condition full name by condition name code |
protected
array|false
|
#
_getImportRow( array $row, integer $rowNumber = 0 )
Validate row for import and return table rate array or false Error will be add to _importErrors array |
protected
|
|
protected
boolean|float
|
#
_parseDecimalValue( string $value )
Parse and validate positive decimal value Return false if value is not decimal or is not positive |
protected
integer
|
$_importWebsiteId | 0 |
#
Import table rates website ID |
protected
array
|
$_importErrors | array() |
#
Errors in import process |
protected
integer
|
$_importedRows | 0 |
#
Count of imported table rates |
protected
array
|
$_importUniqueHash | array() |
#
Array of unique table rate keys to protect from duplicates |
protected
array
|
$_importIso2Countries |
|
#
Array of countries keyed by iso2 code |
protected
array
|
$_importIso3Countries |
|
#
Array of countries keyed by iso3 code |
protected
array
|
$_importRegions |
|
#
Associative array of countries and regions [country_id][region_code] = region_id |
protected
string
|
$_importConditionName |
|
#
Import Table Rate condition name |
protected
array
|
$_conditionFullNames | array() |
#
Array of condition full names |
$_commitCallbacks
|