Class Mage_Api2_Model_Route_ApiType
Webservice Api2 Route to find out API type from request
- Zend_Controller_Router_Route
-
Mage_Api2_Model_Route_Abstract
-
Mage_Api2_Model_Route_ApiType implements Mage_Api2_Model_Route_Interface
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/Route/ApiType.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/Route/ApiType.php
public
|
#
__construct( string $route, array $defaults = array(), array $reqs = array(), Zend_Translate $translator = null, mixed $locale = null )
Prepares the route for mapping by splitting (exploding) it to a corresponding atomic parts. These parts are assigned a position which is later used for matching and preparing values. |
_getArgumentValue(),
match()
|
string |
API_ROUTE
|
'api/:api_type' |
#
API url template with API type variable |
PARAM_DEFAULTS,
PARAM_LOCALE,
PARAM_REQS,
PARAM_ROUTE,
PARAM_TRANSLATOR
|
$_paramsDefaultValues
|