category |
Zend |
package |
Zend_Mobile |
subpackage |
Zend_Mobile_Push |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Mobile_Push_Message_Abstract |
Methods
Get Delay
getDelay() : integer
Get Message ID
getId() : integer | string | float | boolean
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::getId() |
Returns
integer
string
float
boolean
Scalar
Get Notification Type
getNotificationType() : string
Static
Get Token
getToken() : string
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::getToken() |
Returns
string
Get XML Payload
getXmlPayload() : string
Set Delay
setDelay(integer $delay) : \Zend_Mobile_Push_Message_Mpns
Parameters
$delay
integer
one of const DELAY_* of implementing classes
Returns
\Zend_Mobile_Push_Message_Mpns
Set Message ID
setId(integer|string|float|boolean $id) : \Zend_Mobile_Push_Message_Abstract
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::setId() |
Parameters
$id
integer
string
float
boolean
Scalar
Exceptions
Returns
\Zend_Mobile_Push_Message_Abstract
Set Options
setOptions(array $options) : \Zend_Mobile_Push_Message_Abstract
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::setOptions() |
Parameters
$options
array
Exceptions
\Zend_Mobile_Push_Message_Exception |
|
Returns
\Zend_Mobile_Push_Message_Abstract
Set Token
setToken(string $token) : \Zend_Mobile_Push_Message_Mpns
inherited_from |
\Zend_Mobile_Push_Message_Abstract::setToken() |
Parameters
$token
string
Exceptions
\Zend_Mobile_Push_Message_Exception |
|
Returns
\Zend_Mobile_Push_Message_Mpns
Set Token
setToken(string $token) : \Zend_Mobile_Push_Message_Abstract
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::setToken() |
Parameters
$token
string
Exceptions
\Zend_Mobile_Push_Message_Exception |
|
Returns
\Zend_Mobile_Push_Message_Abstract
Validate proper mpns message
validate() : boolean
inherited_from |
\Zend_Mobile_Push_Message_Abstract::validate() |
Returns
boolean
Validate Message format
validate() : boolean
Inherited
inherited_from |
\Zend_Mobile_Push_Message_Interface::validate() |
Returns
boolean
Properties
Id
$_id : integer | string | float | boolean
Constants
Mpns types
TYPE_RAW = 'raw' : string
TYPE_TILE
TYPE_TILE = 'token'
TYPE_TOAST
TYPE_TOAST = 'toast'