Mobile/Push/Message/Mpns/Raw.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
\Zend_Mobile_Push_Message_Mpns_Raw
Package: Zend\Mobile\Zend\Mobile\Push
Mpns Raw Message
- Parent(s)
- \Zend_Mobile_Push_Message_Mpns < \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$
Constants
TYPE_TILE
= 'token'
inheritedInherited from:
\Zend_Mobile_Push_Message_Mpns::TYPE_TILE
- Inherited_from
- \Zend_Mobile_Push_Message_Mpns::TYPE_TILE
TYPE_TOAST
= 'toast'
inheritedInherited from:
\Zend_Mobile_Push_Message_Mpns::TYPE_TOAST
- Inherited_from
- \Zend_Mobile_Push_Message_Mpns::TYPE_TOAST
Properties

\scalar $_id =
inherited
Id
Inherited from: \Zend_Mobile_Push_Message_Abstract::$$_id\Zend_Mobile_Push_Message_Mpns::$$_id
Details
- Type
- \scalar
- Inherited_from
- \Zend_Mobile_Push_Message_Abstract::$$_id
- Inherited_from
- \Zend_Mobile_Push_Message_Mpns::$$_id

string $_token =
inherited
Token
Inherited from: \Zend_Mobile_Push_Message_Abstract::$$_token\Zend_Mobile_Push_Message_Mpns::$$_token
Details
- Type
- string
- Inherited_from
- \Zend_Mobile_Push_Message_Abstract::$$_token
- Inherited_from
- \Zend_Mobile_Push_Message_Mpns::$$_token
Methods

getId() : \scalar
inherited
Get Message ID
Inherited from: \Zend_Mobile_Push_Message_Abstract::getId()\Zend_Mobile_Push_Message_Mpns::getId()
Returns
| Type | Description |
|---|---|
| \scalar |

getToken() : string
inherited
Get Token
Inherited from: \Zend_Mobile_Push_Message_Abstract::getToken()\Zend_Mobile_Push_Message_Mpns::getToken()
Returns
| Type | Description |
|---|---|
| string |

setDelay(int $delay) : \Zend_Mobile_Push_Message_Mpns_RawSet Delay
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $delay | int |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Message_Mpns_Raw |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Message_Exception |

setId(\scalar $id) : \Zend_Mobile_Push_Message_Abstract
inherited
Set Message ID
Inherited from: \Zend_Mobile_Push_Message_Abstract::setId()\Zend_Mobile_Push_Message_Mpns::setId()
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $id | \scalar |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Message_Abstract |
| Exception | Description |
|---|---|
| \Exception |

setMessage(string $msg) : \Zend_Mobile_Push_Message_Mpns_RawSet Message
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $msg | string | XML string |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Message_Mpns_Raw |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Message_Exception |

setOptions(array $options) : \Zend_Mobile_Push_Message_Abstract
inherited
Set Options
Inherited from: \Zend_Mobile_Push_Message_Abstract::setOptions()\Zend_Mobile_Push_Message_Mpns::setOptions()
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $options | array |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Message_Abstract |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Message_Exception |

setToken(string $token) : \Zend_Mobile_Push_Message_Mpns
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $token | string |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Message_Mpns |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Message_Exception |