Class Mage_Catalog_Model_Product_Api_V2

Description

Catalog product api V2

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

Mage_Api_Model_Resource_Abstract
   |
   --Mage_Catalog_Model_Api_Resource
      |
      --Mage_Catalog_Model_Product_Api
         |
         --Mage_Catalog_Model_Product_Api_V2
Method Summary
int create (string $type, int $set,  $sku, array $productData)
array getSpecialPrice (int|string $productId, [string|int $store = null])
array info (int|string $productId, [string|int $store = null], [stdClass $attributes = null], [ $identifierType = null])
array items ([array $filters = null], [string|int $store = null])
boolean setSpecialPrice (int|string $productId, [float $specialPrice = null], [string $fromDate = null], [string $toDate = null], [string|int $store = null])
boolean update (int|string $productId, array $productData, [string|int $store = null], [ $identifierType = null])
object _prepareDataForSave (Mage_Catalog_Model_Product $product, array $productData)
Variables
Methods
create (line 158)

Create new product.

  • access: public
int create (string $type, int $set,  $sku, array $productData)
  • string $type
  • int $set
  • array $productData
  • $sku

Redefinition of:
Mage_Catalog_Model_Product_Api::create()
Create new product.
getSpecialPrice (line 348)

Retrieve product special price

  • access: public
array getSpecialPrice (int|string $productId, [string|int $store = null])
  • int|string $productId
  • string|int $store

Redefinition of:
Mage_Catalog_Model_Product_Api::getSpecialPrice()
Retrieve product special price
info (line 104)

Retrieve product info

  • access: public
array info (int|string $productId, [string|int $store = null], [stdClass $attributes = null], [ $identifierType = null])
  • int|string $productId
  • string|int $store
  • stdClass $attributes
  • $identifierType

Redefinition of:
Mage_Catalog_Model_Product_Api::info()
Retrieve product info
items (line 44)

Retrieve list of products with basic info (id, sku, type, set, name)

  • access: public
array items ([array $filters = null], [string|int $store = null])
  • array $filters
  • string|int $store

Redefinition of:
Mage_Catalog_Model_Product_Api::items()
Retrieve list of products with basic info (id, sku, type, set, name)
setSpecialPrice (line 332)

Update product special price

  • access: public
boolean setSpecialPrice (int|string $productId, [float $specialPrice = null], [string $fromDate = null], [string $toDate = null], [string|int $store = null])
  • int|string $productId
  • float $specialPrice
  • string $fromDate
  • string $toDate
  • string|int $store

Redefinition of:
Mage_Catalog_Model_Product_Api::setSpecialPrice()
Update product special price
update (line 224)

Update product data

  • access: public
boolean update (int|string $productId, array $productData, [string|int $store = null], [ $identifierType = null])
  • int|string $productId
  • array $productData
  • string|int $store
  • $identifierType

Redefinition of:
Mage_Catalog_Model_Product_Api::update()
Update product data
_prepareDataForSave (line 285)

Set additional data before product saved

  • access: protected
object _prepareDataForSave (Mage_Catalog_Model_Product $product, array $productData)

Redefinition of:
Mage_Catalog_Model_Product_Api::_prepareDataForSave()
Set additional data before product saved

Inherited Methods

Inherited From Mage_Catalog_Model_Product_Api

Mage_Catalog_Model_Product_Api::__construct()
Mage_Catalog_Model_Product_Api::create()
Mage_Catalog_Model_Product_Api::delete()
Mage_Catalog_Model_Product_Api::getSpecialPrice()
Mage_Catalog_Model_Product_Api::info()
Mage_Catalog_Model_Product_Api::items()
Mage_Catalog_Model_Product_Api::setSpecialPrice()
Mage_Catalog_Model_Product_Api::update()
Mage_Catalog_Model_Product_Api::_prepareDataForSave()

Inherited From Mage_Catalog_Model_Api_Resource

Mage_Catalog_Model_Api_Resource::currentStore()
Mage_Catalog_Model_Api_Resource::_getProduct()
Mage_Catalog_Model_Api_Resource::_getStoreId()
Mage_Catalog_Model_Api_Resource::_isAllowedAttribute()

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:15:46 +0200 by phpDocumentor 1.4.3