Class Mage_XmlConnect_Helper_Data
XmlConnect default helper
- Mage_Core_Helper_Abstract
-
Mage_XmlConnect_Helper_Data
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/XmlConnect/Helper/Data.php
public
|
|
public
|
|
public
string
|
#
getDeviceType(
Get device tipe from application |
public
|
|
public
array
|
|
public
array
|
|
public
array
|
#
getCountryOptionsArray( boolean $isItunes = false )
Retrieve device specific country options array |
public static
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
integer
|
|
protected
array
|
|
public
string|boolean
|
|
public static
array
|
#
arrayMergeRecursive( mixed $target, mixed $changes )
Merges $changes array to $target array recursive, overwriting existing key, and adding new one |
public
string
|
|
public
string
|
#
getArrayAsXmlItemValues( array $dataArray, string $selected )
Return select options for xml from array |
public
string
|
|
public
string
|
|
public static
array
|
|
public
array
|
|
public
integer
|
|
public
integer
|
|
public
array
|
|
public
array
|
|
public
|
|
public
array
|
|
protected
array
|
#
_getCurlConfig( string $userPwd, integer $timeout =
Get urban airship curl request configuration |
public
array
|
#
excludeXmlConfigKeys( array $data, array $excludedKeys = array() )
Remove from array the unnecessary parameters by given keys |
public
array
|
|
public
string
|
|
public
string
|
|
public
null
|
#
_injectFieldToArray( array & $target, string $fieldPath, mixed $fieldValue, string $delimiter = '/' )
Set value into multidimensional array 'conf/native/navigationBar/icon' |
public
string
|
|
public
boolean
|
|
public
boolean
|
#
isNotificationsAllowed(
Check the notifications are allowed for current type of application |
public
string
|
|
public
string
|
integer |
PUSH_TITLE_LENGTH
|
140 |
#
Push title length |
integer |
MESSAGE_TITLE_LENGTH
|
255 |
#
Message title length |
integer |
CURLOPT_DEFAULT_TIMEOUT
|
60 |
#
Curl default timeout |
string |
XML_NODE_CONFIG_EXCLUDE_FROM_XML
|
'xmlconnect/mobile_application/nodes_excluded_from_config_xml' |
#
XML path to nodes to be excluded |
string |
DEVICE_TYPE_DEFAULT
|
'unknown' |
#
Default device type |
string |
DEVICE_TYPE_IPHONE
|
'iphone' |
#
iPhone device identifier |
string |
DEVICE_TYPE_IPAD
|
'ipad' |
#
iPad device identifier |
string |
DEVICE_TYPE_ANDROID
|
'android' |
#
Android device identifier |
string |
SOCIAL_NETWORK_TWITTER
|
'twitter' |
#
Social network Twitter id |
string |
SOCIAL_NETWORK_FACEBOOK
|
'facebook' |
#
Social network Facebook id |
string |
SOCIAL_NETWORK_LINKEDIN
|
'linkedin' |
#
Social network LinkedIn id |
protected
array
|
$_excludedXmlConfigKeys | array('notifications/applicationMasterSecret') |
#
List of the keys for xml config that have to be excluded form application config |
protected
array
|
$_appNames | array() |
#
Application names array |
protected
array
|
$_tplNames | array() |
#
Template names array |
$_layout,
$_moduleName,
$_request
|