Class Mage_Catalog_Model_Product_Attribute_Media_Api
Catalog product media api
- Mage_Api_Model_Resource_Abstract
- Mage_Catalog_Model_Api_Resource
- Mage_Catalog_Model_Product_Attribute_Media_Api
Direct known subclasses
Mage_Catalog_Model_Product_Attribute_Media_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/Attribute/Media/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/Attribute/Media/Api.php
public
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
protected
array
|
|
protected
|
#
_getGalleryAttribute(
Retrieve gallery attribute from product |
protected
|
|
protected
array
|
#
_imageToArray( array & $image,
Converts image to api array data |
protected
|
#
_initProduct( integer|string $productId, string|integer $store = null, string $identifierType = null )
Retrieve product |
_getProduct(),
_getStoreId(),
_isAllowedAttribute(),
currentStore()
|
_fault(),
_getConfig(),
_getServer(),
_getSession(),
getResourceConfig(),
setResourceConfig()
|
string |
ATTRIBUTE_CODE
|
'media_gallery' |
#
Attribute code for media gallery |
protected
array
|
$_mimeTypes | array(
'image/jpeg' => 'jpg',
'image/gif' => 'gif',
'image/png' => 'png'
) |
#
Allowed mime types for image |
$_ignoredAttributeCodes,
$_ignoredAttributeTypes,
$_resourceAttributeAclName,
$_storeIdSessionField
|
$_resourceConfig
|