Class Mage_Api2_Model_Multicall
API2 model for multiple internal calls to subresources of specified resource
Package: Mage\Api2
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/Api2/Model/Multicall.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/Api2/Model/Multicall.php
public
|
#
call( string $parentResourceId, string $parentResourceName,
Multicall to subresources of specified resource |
protected
|
#
_callSubresource(
Make call to specified subresource with data from request |
protected
|
#
_internalCall(
Make internal call to specified subresource on with specified data via API2 server |
protected
|
#
_prepareRequest( string $subresourceName, array $data, string|null $parentResourceIdFieldName = null )
Prepare internal request |
protected
string
|
#
_createSubresourceUri( string $subresourceName, string $parentResourceIdFieldName = null )
Generate subresource uri |
protected
array
|
#
_getDeclaredSubresources( string $parentResourceName )
Retrieve list of subresources declared in configuration |
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_aggregateResponse(
Add internal call response to global response |
protected
string|integer
|
#
_getCreatedResourceId(
Retrieve created resource id from response |
protected
|
$_parentCallRequest |
|
|
protected
string
|
$_parentResourceId |
|