Class Mage_Api2_Model_Config
Webservice api2 config model
- Varien_Simplexml_Config
-
Mage_Api2_Model_Config
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/Config.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/Config.php
public
|
#
__construct( string|Varien_Simplexml_Element|null $sourceData = null )
Constructor Initializes XML for this configuration Local cache configuration |
public
array
|
|
public
Varien_Simplexml_Element
|
|
public
array
|
|
public
Varien_Simplexml_Element|boolean
|
|
public
|
|
public
Varien_Simplexml_Element|boolean
|
|
public
array
|
|
public
array
|
#
getResourceExcludedAttributes( string $resource, string $userType, string $operation )
Get excluded attributes of API resource |
public
array
|
#
getResourceForcedAttributes( string $resource, string $userType )
Get forced attributes of API resource |
public
array
|
#
getResourceIncludedAttributes( string $resource, string $userType, string $operationType )
Get included attributes |
public
array
|
#
getResourceEntityOnlyAttributes( string $resource, string $userType, string $operationType )
Get entity only attributes |
public
string
|
|
public
array
|
|
public
string
|
|
public
array
|
#
getResourceUserPrivileges( string $resource, string $userType )
Retrieve API user privileges for specified resource |
public
array
|
|
public
array
|
#
getValidationConfig( string $resourceType, string $validatorType )
Get validation config by validator type |
public
integer
|
#
getResourceLastVersion( string $resourceType, integer $lowerOrEqualsTo = null )
Get latest version of resource model. If second arg is specified - use it as a limiter |
public
string
|
#
getRouteWithEntityTypeAction( string $node )
Get route with Mage_Api2_Model_Resource::ACTION_TYPE_ENTITY type |
string |
NODE_RESOURCE_GROUPS
|
'resource_groups' |
#
Node name of resource groups |
string |
CACHE_ID
|
'config_api2' |
#
Id for config cache |
string |
CACHE_TAG
|
'CONFIG_API2' |
#
Tag name for config cache |
protected
boolean
|
$_resourcesGrouped | false |
#
Is resources added to group |