Class Mage_Catalog_Model_Product_Type

Description

Product type model

Located in /Catalog/Model/Product/Type.php (line 34)


	
			
Class Constant Summary
DEFAULT_PRICE_MODEL = 'catalog/product_type_price'
DEFAULT_TYPE = 'simple'
DEFAULT_TYPE_MODEL = 'catalog/product_type_simple'
TYPE_BUNDLE = 'bundle'
TYPE_CONFIGURABLE = 'configurable'
TYPE_GROUPED = 'grouped'
TYPE_SIMPLE = 'simple'
TYPE_VIRTUAL = 'virtual'
Variable Summary
static mixed $_compositeTypes
static mixed $_priceModels
static mixed $_types
static mixed $_typesPriority
Method Summary
static Mage_Catalog_Model_Product_Type_Abstract factory (Mage_Catalog_Model_Product $product, [bool $singleton = false])
static void getAllOption ()
static void getAllOptions ()
static array getCompositeTypes ()
static void getOptionArray ()
static void getOptions ()
static void getOptionText ( $optionId)
static void getTypes ()
static array getTypesByPriority ()
static Mage_Catalog_Model_Product_Type_Price priceFactory (string $productType)
Variables
static mixed $_compositeTypes (line 50)
  • access: protected
static mixed $_priceModels (line 51)
  • access: protected
static mixed $_types (line 49)
  • access: protected
static mixed $_typesPriority (line 52)
  • access: protected
Methods
static method factory (line 61)

Product type instance factory

  • access: public
static Mage_Catalog_Model_Product_Type_Abstract factory (Mage_Catalog_Model_Product $product, [bool $singleton = false])
static method getAllOption (line 118)
  • access: public
static void getAllOption ()
static method getAllOptions (line 125)
  • access: public
static void getAllOptions ()
static method getCompositeTypes (line 179)

Return composite product type Ids

  • access: public
static array getCompositeTypes ()
static method getOptionArray (line 108)
  • access: public
static void getOptionArray ()
static method getOptions (line 138)
  • access: public
static void getOptions ()
static method getOptionText (line 150)
  • access: public
static void getOptionText ( $optionId)
  • $optionId
static method getTypes (line 156)
  • access: public
static void getTypes ()
static method getTypesByPriority (line 198)

Return product types by type indexing priority

  • access: public
static array getTypesByPriority ()
static method priceFactory (line 90)

Product type price model factory

  • access: public
static Mage_Catalog_Model_Product_Type_Price priceFactory (string $productType)
  • string $productType
Class Constants
DEFAULT_PRICE_MODEL = 'catalog/product_type_price' (line 47)
DEFAULT_TYPE = 'simple' (line 45)
DEFAULT_TYPE_MODEL = 'catalog/product_type_simple' (line 46)
TYPE_BUNDLE = 'bundle' (line 40)
TYPE_CONFIGURABLE = 'configurable' (line 41)
TYPE_GROUPED = 'grouped' (line 42)
TYPE_SIMPLE = 'simple' (line 39)

Available product types

TYPE_VIRTUAL = 'virtual' (line 43)

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