Class Mage_Api2_Model_Renderer_Xml
Webservice API2 renderer of XML type model
- Mage_Api2_Model_Renderer_Xml implements Mage_Api2_Model_Renderer_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/Renderer/Xml.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/Renderer/Xml.php
public
string
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
|
public
string
|
string |
MIME_TYPE
|
'application/xml' |
#
Adapter mime type |
string |
ARRAY_NON_ASSOC_ITEM_NAME
|
'data_item' |
#
Default name for item of non-associative array |
protected
array
|
$_replacementInTagName | array(
'!' => '', '"' => '', '#' => '', '$' => '', '%' => '', '&' => '', '\'' => '',
'(' => '', ')' => '', '*' => '', '+' => '', ',' => '', '/' => '', ';' => '',
'<' => '', '=' => '', '>' => '', '?' => '', '@' => '', '[' => '', '\\' => '',
']' => '', '^' => '', '`' => '', '{' => '', '|' => '', '}' => '', '~' => '',
' ' => '_', ':' => '_'
) |
#
Chars for replacement in the tag name |
protected
array
|
$_replacementInTagValue | array(
'&' => '&' // replace "&" with HTML entity, because by default not replaced
) |
#
Chars for replacement in the tag value |
protected
string
|
$_protectedTagNamePattern | '/^[0-9,.-]/' |
#
Protected pattern for check chars in the begin of tag name |