Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Api2_Adminhtml_Api2_AttributeController
  • Mage_Api2_Adminhtml_Api2_RoleController
  • Mage_Api2_Block_Adminhtml_Attribute
  • Mage_Api2_Block_Adminhtml_Attribute_Buttons
  • Mage_Api2_Block_Adminhtml_Attribute_Edit
  • Mage_Api2_Block_Adminhtml_Attribute_Edit_Form
  • Mage_Api2_Block_Adminhtml_Attribute_Grid
  • Mage_Api2_Block_Adminhtml_Attribute_Tab_Resource
  • Mage_Api2_Block_Adminhtml_Attribute_Tabs
  • Mage_Api2_Block_Adminhtml_Permissions_User_Edit_Tab_Roles
  • Mage_Api2_Block_Adminhtml_Roles
  • Mage_Api2_Block_Adminhtml_Roles_Buttons
  • Mage_Api2_Block_Adminhtml_Roles_Grid
  • Mage_Api2_Block_Adminhtml_Roles_Tab_Info
  • Mage_Api2_Block_Adminhtml_Roles_Tab_Resources
  • Mage_Api2_Block_Adminhtml_Roles_Tab_Users
  • Mage_Api2_Block_Adminhtml_Roles_Tabs
  • Mage_Api2_Helper_Data
  • Mage_Api2_Model_Acl
  • Mage_Api2_Model_Acl_Filter
  • Mage_Api2_Model_Acl_Filter_Attribute
  • Mage_Api2_Model_Acl_Filter_Attribute_Operation
  • Mage_Api2_Model_Acl_Filter_Attribute_ResourcePermission
  • Mage_Api2_Model_Acl_Global
  • Mage_Api2_Model_Acl_Global_Role
  • Mage_Api2_Model_Acl_Global_Rule
  • Mage_Api2_Model_Acl_Global_Rule_Permission
  • Mage_Api2_Model_Acl_Global_Rule_Privilege
  • Mage_Api2_Model_Acl_Global_Rule_ResourcePermission
  • Mage_Api2_Model_Acl_Global_Rule_Tree
  • Mage_Api2_Model_Auth
  • Mage_Api2_Model_Auth_Adapter
  • Mage_Api2_Model_Auth_Adapter_Abstract
  • Mage_Api2_Model_Auth_Adapter_Oauth
  • Mage_Api2_Model_Auth_User
  • Mage_Api2_Model_Auth_User_Abstract
  • Mage_Api2_Model_Auth_User_Admin
  • Mage_Api2_Model_Auth_User_Customer
  • Mage_Api2_Model_Auth_User_Guest
  • Mage_Api2_Model_Config
  • Mage_Api2_Model_Dispatcher
  • Mage_Api2_Model_Multicall
  • Mage_Api2_Model_Observer
  • Mage_Api2_Model_Renderer
  • Mage_Api2_Model_Renderer_Json
  • Mage_Api2_Model_Renderer_Query
  • Mage_Api2_Model_Renderer_Xml
  • Mage_Api2_Model_Renderer_Xml_Writer
  • Mage_Api2_Model_Request
  • Mage_Api2_Model_Request_Internal
  • Mage_Api2_Model_Request_Interpreter
  • Mage_Api2_Model_Request_Interpreter_Json
  • Mage_Api2_Model_Request_Interpreter_Query
  • Mage_Api2_Model_Request_Interpreter_Xml
  • Mage_Api2_Model_Resource
  • Mage_Api2_Model_Resource_Acl_Filter_Attribute
  • Mage_Api2_Model_Resource_Acl_Filter_Attribute_Collection
  • Mage_Api2_Model_Resource_Acl_Global_Role
  • Mage_Api2_Model_Resource_Acl_Global_Role_Collection
  • Mage_Api2_Model_Resource_Acl_Global_Rule
  • Mage_Api2_Model_Resource_Acl_Global_Rule_Collection
  • Mage_Api2_Model_Resource_Setup
  • Mage_Api2_Model_Resource_Validator
  • Mage_Api2_Model_Resource_Validator_Eav
  • Mage_Api2_Model_Resource_Validator_Fields
  • Mage_Api2_Model_Response
  • Mage_Api2_Model_Route_Abstract
  • Mage_Api2_Model_Route_ApiType
  • Mage_Api2_Model_Route_Rest
  • Mage_Api2_Model_Router
  • Mage_Api2_Model_Server

Interfaces

  • Mage_Api2_Model_Acl_PermissionInterface
  • Mage_Api2_Model_Renderer_Interface
  • Mage_Api2_Model_Request_Interpreter_Interface
  • Mage_Api2_Model_Route_Interface

Exceptions

  • Mage_Api2_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Api2_Model_Request

API Request model

Zend_Controller_Request_Http
Extended by Mage_Api2_Model_Request

Direct known subclasses

Mage_Api2_Model_Request_Internal
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/Request.php
Methods summary
public
# __construct( string|Zend_Uri $uri = null )

Constructor

Constructor

If a $uri is passed, the object will attempt to populate itself using that information. Override parent class to allow object instance get via Mage::getSingleton()

Parameters

$uri
string|Zend_Uri
$uri
protected Mage_Api2_Model_Request_Interpreter_Interface
# _getInterpreter( )

Get request interpreter

Get request interpreter

Returns

Mage_Api2_Model_Request_Interpreter_Interface
public array
# getAcceptTypes( )

Retrieve accept types understandable by requester in a form of array sorted by quality descending

Retrieve accept types understandable by requester in a form of array sorted by quality descending

Returns

array
public string
# getApiType( )

Get api type from Request

Get api type from Request

Returns

string
public array
# getBodyParams( )

Fetch data from HTTP Request body

Fetch data from HTTP Request body

Returns

array
public string
# getContentType( )

Get Content-Type of request

Get Content-Type of request

Returns

string

Throws

Mage_Api2_Exception
public mixed
# getFilter( )

Get filter settings passed by API user

Get filter settings passed by API user

Returns

mixed
public string|null
# getModel( )

Get resource model class name

Get resource model class name

Returns

string|null
public string
# getOperation( )

Retrieve one of CRUD operation dependent on HTTP method

Retrieve one of CRUD operation dependent on HTTP method

Returns

string

Throws

Mage_Api2_Exception
public mixed
# getOrderDirection( )

Get sort order direction requested by API user

Get sort order direction requested by API user

Returns

mixed
public mixed
# getOrderField( )

Get sort order field requested by API user

Get sort order field requested by API user

Returns

mixed
public mixed
# getPageNumber( )

Retrieve page number requested by API user

Retrieve page number requested by API user

Returns

mixed
public mixed
# getPageSize( )

Retrieve page size requested by API user

Retrieve page size requested by API user

Returns

mixed
public array
# getRequestedAttributes( )

Get an array of attribute codes requested by API user

Get an array of attribute codes requested by API user

Returns

array
public string
# getResourceType( )

Retrieve resource type

Retrieve resource type

Returns

string
public string
# getVersion( )

Get Version header from headers

Get Version header from headers

Returns

string
public string|null
# getActionType( )

Retrieve action type

Retrieve action type

Returns

string|null
public boolean
# isAssocArrayInRequestBody( )

It checks if the array in the request body is an associative one. It is required for definition of the dynamic aaction type (multi or single)

It checks if the array in the request body is an associative one. It is required for definition of the dynamic aaction type (multi or single)

Returns

boolean
Constants summary
string REQUEST_CHARSET 'utf-8'
#

Character set which must be used in request

Character set which must be used in request

string QUERY_PARAM_REQ_ATTRS 'attrs'
#

Name of query ($_GET) parameters to use in navigation and so on

Name of query ($_GET) parameters to use in navigation and so on

string QUERY_PARAM_PAGE_NUM 'page'
#
string QUERY_PARAM_PAGE_SIZE 'limit'
#
string QUERY_PARAM_ORDER_FIELD 'order'
#
string QUERY_PARAM_ORDER_DIR 'dir'
#
string QUERY_PARAM_FILTER 'filter'
#
Properties summary
protected Mage_Api2_Model_Request_Interpreter_Interface $_interpreter
#

Interpreter adapter

Interpreter adapter

protected array $_bodyParams
#

Body params

Body params

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0