Class Mage_Catalog_Model_Product_Attribute_Backend_Tierprice

Description

Catalog product tier price backend attribute model

Located in /Catalog/Model/Product/Attribute/Backend/Tierprice.php (line 35)

Mage_Eav_Model_Entity_Attribute_Backend_Abstract
   |
   --Mage_Catalog_Model_Product_Attribute_Backend_Price
      |
      --Mage_Catalog_Model_Product_Attribute_Backend_Tierprice
Variable Summary
array $_rates
Method Summary
Variables
Methods
afterLoad (line 192)

Assign tier prices to product data

  • access: public

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::afterLoad()
afterSave (line 230)

After Save Attribute manipulation

  • access: public

Redefinition of:
Mage_Catalog_Model_Product_Attribute_Backend_Price::afterSave()
After Save Attribute manipulation
preparePriceData (line 163)

Prepare tier prices data for website

  • access: public
array preparePriceData ( $priceData, string $productTypeId, int $websiteId)
  • array $priceData
  • string $productTypeId
  • int $websiteId
validate (line 95)

Validate tier price data

  • throws: Mage_Core_Exception
  • access: public
bool validate (Mage_Catalog_Model_Product $object)

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::validate()
_getResource (line 49)

Retrieve resource instance

  • access: protected
_getWebsiteRates (line 59)

Retrieve websites rates and base currency codes

  • access: public
array _getWebsiteRates ()

Inherited Methods

Inherited From Mage_Catalog_Model_Product_Attribute_Backend_Price

Mage_Catalog_Model_Product_Attribute_Backend_Price::afterSave()
Mage_Catalog_Model_Product_Attribute_Backend_Price::setAttribute()
Mage_Catalog_Model_Product_Attribute_Backend_Price::setScope()

Inherited From Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Mage_Eav_Model_Entity_Attribute_Backend_Abstract::afterDelete()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::afterLoad()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::afterSave()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::beforeDelete()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::beforeSave()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getAttribute()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getDefaultValue()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getEntityIdField()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getTable()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getType()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::getValueId()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::isStatic()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::setAttribute()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::setValueId()
Mage_Eav_Model_Entity_Attribute_Backend_Abstract::validate()

Documentation generated on Fri, 11 Feb 2011 17:14:48 +0200 by phpDocumentor 1.4.3