Mobile/Push/Message/Apns.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Mobile
- Subpackage
- Zend_Mobile_Push
- Version
- $Id$
\Zend_Mobile_Push_Message_Apns
Package: Zend\Mobile\Zend\Mobile\Push
Apns Message
- Parent(s)
- \Zend_Mobile_Push_Message_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties
Methods


addCustomData(string $key, mixed $value) : \Zend_Mobile_Push_Message_Apns
Add Custom Data
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


clearCustomData() : \throw
Clear Custom Data
Returns
Type | Description |
---|---|
\throw | new Zend_Mobile_Push_Message_Apns |


setAlert(string $text, string $actionLocKey = null, string $locKey = null, array $locArgs = null, string $launchImage = null) : \Zend_Mobile_Push_Message_Apns
Set Alert
Parameters
Returns
Name | Type | Description |
---|---|---|
$text | string | |
$actionLocKey | string | |
$locKey | string | |
$locArgs | array | |
$launchImage | string |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |


setBadge(int $badge) : \Zend_Mobile_Push_Message_Apns
Set Badge
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$badge | int |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


setCustomData( $array) : \Zend_Mobile_Push_Message_Apns
Set Custom Data
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$array |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


setExpire(int $expire) : \Zend_Mobile_Push_Message_Apns
Set Expire
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$expire | int |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


setId(\scalar $id) : \Zend_Mobile_Push_Message_Abstract
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$id | \scalar |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Abstract |
Exception | Description |
---|---|
\Exception |


setOptions(array $options) : \Zend_Mobile_Push_Message_Abstract
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Abstract |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


setSound(string $sound) : \Zend_Mobile_Push_Message_Apns
Set Sound
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$sound | string |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Apns |
Exception | Description |
---|---|
\Zend_Mobile_Push_Message_Exception |


setToken(string $token) : \Zend_Mobile_Push_Message_Abstract
Parameters
Returns
Name | Type | Description |
---|---|---|
$token | string |
Type | Description |
---|---|
\Zend_Mobile_Push_Message_Abstract |