Class Mage_Catalog_Model_Api_Resource

Description

Catalog api resource

Located in /Catalog/Model/Api/Resource.php (line 34)

Mage_Api_Model_Resource_Abstract
   |
   --Mage_Catalog_Model_Api_Resource
Direct descendents
Class Description
Mage_CatalogInventory_Model_Stock_Item_Api Catalog inventory api
Mage_Catalog_Model_Category_Attribute_Api Catalog category attribute api
Mage_Catalog_Model_Category_Api Catalog category api
Mage_Catalog_Model_Product_Link_Api Catalog product link api
Mage_Catalog_Model_Product_Attribute_Tierprice_Api Catalog Product tier price api
Mage_Catalog_Model_Product_Attribute_Api Catalog product attribute api
Mage_Catalog_Model_Product_Attribute_Media_Api Catalog product media api
Mage_Catalog_Model_Product_Api Catalog product api
Variable Summary
Method Summary
int currentStore ([string|int $store = null])
Mage_Catalog_Model_Product _getProduct (int|string $productId, [int|string $store = null], [ $identifierType = null])
int _getStoreId ([string|int $store = null])
boolean _isAllowedAttribute (Mage_Eav_Model_Entity_Attribute_Abstract $attribute, [array $attributes = null])
Variables
array $_ignoredAttributeCodes = array('entity_id', 'attribute_set_id', 'entity_type_id') (line 41)

Default ignored attribute codes

  • access: protected
array $_ignoredAttributeTypes = array() (line 48)

Default ignored attribute types

  • access: protected
string $_storeIdSessionField = 'store_id' (line 54)

Field name in session for saving store id

  • access: protected

Inherited Variables

Inherited from Mage_Api_Model_Resource_Abstract

Mage_Api_Model_Resource_Abstract::$_resourceConfig
Methods
currentStore (line 137)

Set current store for catalog.

  • access: public
int currentStore ([string|int $store = null])
  • string|int $store
_getProduct (line 105)

Return loaded product instance

  • access: protected
Mage_Catalog_Model_Product _getProduct (int|string $productId, [int|string $store = null], [ $identifierType = null])
  • int|string $productId: (SKU or ID)
  • int|string $store
  • $identifierType
_getStoreId (line 82)

Retrives store id from store code, if no store id specified, it use seted session or admin store

  • access: protected
int _getStoreId ([string|int $store = null])
  • string|int $store
_isAllowedAttribute (line 63)

Check is attribute allowed

  • access: protected
boolean _isAllowedAttribute (Mage_Eav_Model_Entity_Attribute_Abstract $attribute, [array $attributes = null])

Inherited Methods

Inherited From Mage_Api_Model_Resource_Abstract

Mage_Api_Model_Resource_Abstract::getResourceConfig()
Mage_Api_Model_Resource_Abstract::setResourceConfig()
Mage_Api_Model_Resource_Abstract::_fault()
Mage_Api_Model_Resource_Abstract::_getConfig()
Mage_Api_Model_Resource_Abstract::_getServer()
Mage_Api_Model_Resource_Abstract::_getSession()

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