Class Mage_Catalog_Model_Product_Link_Api
Catalog product link api
- Mage_Api_Model_Resource_Abstract
- Mage_Catalog_Model_Api_Resource
- Mage_Catalog_Model_Product_Link_Api
Direct known subclasses
Mage_Catalog_Model_Product_Link_Api_V2
Package: Mage\Catalog
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/Catalog/Model/Product/Link/Api.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/Catalog/Model/Product/Link/Api.php
public
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
protected
integer
|
|
protected
|
#
_initProduct( integer $productId, string $identifierType = null )
Initialize and return product model |
protected
|
#
_initCollection(
Initialize and return linked products collection |
protected
array
|
#
_collectionToEditableArray(
Export collection to editable array |
_getProduct(),
_getStoreId(),
_isAllowedAttribute(),
currentStore()
|
_fault(),
_getConfig(),
_getServer(),
_getSession(),
getResourceConfig(),
setResourceConfig()
|
protected
array
|
$_typeMap | array(
'related' => Mage_Catalog_Model_Product_Link::LINK_TYPE_RELATED,
'up_sell' => Mage_Catalog_Model_Product_Link::LINK_TYPE_UPSELL,
'cross_sell' => Mage_Catalog_Model_Product_Link::LINK_TYPE_CROSSSELL,
'grouped' => Mage_Catalog_Model_Product_Link::LINK_TYPE_GROUPED
) |
#
Product link type mapping, used for references and validation |
$_ignoredAttributeCodes,
$_ignoredAttributeTypes,
$_resourceAttributeAclName,
$_storeIdSessionField
|
$_resourceConfig
|