Class Mage_Api2_Model_Response
API Response model
- Zend_Controller_Response_Http
- Mage_Api2_Model_Response
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/Response.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/Response.php
public
|
|
public
|
#
addMessage( string $message, string $code, array $params = array(), string $type =
Add message to responce |
public
boolean
|
|
public
array
|
|
public
|
string |
RESPONSE_CHARSET
|
'utf-8' |
#
Character set which must be used in response |
string |
MESSAGE_TYPE_SUCCESS
|
'success' |
#
Default message types |
string |
MESSAGE_TYPE_ERROR
|
'error' |
|
string |
MESSAGE_TYPE_WARNING
|
'warning' |
protected
array
|
$_messages | array() |
#
Messages |