Class Mage_Catalog_Model_Api2_Product_Image_Rest
Abstract API2 class for product images resource
- Mage_Api2_Model_Resource
- Mage_Catalog_Model_Api2_Product
- Mage_Catalog_Model_Api2_Product_Rest
- Mage_Catalog_Model_Api2_Product_Image_Rest
Direct known subclasses
Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1, Mage_Catalog_Model_Api2_Product_Image_Rest_Customer_V1, Mage_Catalog_Model_Api2_Product_Image_Rest_Guest_V1
Abstract
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/Api2/Product/Image/Rest.php
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/Api2/Product/Image/Rest.php
protected
array
|
|
protected
array
|
|
protected
|
|
protected
array
|
|
protected
array
|
#
_getImageTypesAssignedToProduct( string $imageFile )
Retrieve image types assigned to product (base, small, thumbnail) |
protected
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
#
_getImageFileById( integer $imageId )
Get file URI by its id. File URI is used by media backend to identify image |
_isAttributeVisible(),
getAvailableAttributes()
|
string |
GALLERY_ATTRIBUTE_CODE
|
'media_gallery' |
#
Attribute code for media gallery |
protected
array
|
$_mimeTypes | array(
'image/jpg' => 'jpg',
'image/jpeg' => 'jpg',
'image/gif' => 'gif',
'image/png' => 'png'
) |
#
Allowed MIME types for image |
$_product
|
$_actionType,
$_apiType,
$_apiUser,
$_filter,
$_multicall,
$_operation,
$_renderer,
$_request,
$_resourceType,
$_response,
$_returnData,
$_userType,
$_version
|