Mage_Catalog_Model_Product_Configuration_Item_Interface
in
Table of Contents
Methods
- getFileDownloadParams() : null|DataObject
- Returns special download params (if needed) for custom option with type = 'file'' Return null, if not special params needed' Or return \Maho\DataObject with any of the following indexes: - 'url' - url of controller to give the file - 'urlParams' - additional parameters for url (custom option id, or item id, for example)
- getOptionByCode() : Mage_Catalog_Model_Product_Configuration_Item_Option_Interface
- Get item option by code
- getProduct() : Mage_Catalog_Model_Product
- Retrieve associated product
Methods
getFileDownloadParams()
Returns special download params (if needed) for custom option with type = 'file'' Return null, if not special params needed' Or return \Maho\DataObject with any of the following indexes: - 'url' - url of controller to give the file - 'urlParams' - additional parameters for url (custom option id, or item id, for example)
public
getFileDownloadParams() : null|DataObject
Return values
null|DataObjectgetOptionByCode()
Get item option by code
public
getOptionByCode(string $code) : Mage_Catalog_Model_Product_Configuration_Item_Option_Interface
Parameters
- $code : string
Return values
Mage_Catalog_Model_Product_Configuration_Item_Option_InterfacegetProduct()
Retrieve associated product
public
getProduct() : Mage_Catalog_Model_Product