Mobile/Push/Message/Mpns.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Mobile  
Subpackage
Zend_Mobile_Push  

\Zend_Mobile_Push_Message_Mpns

Package: Zend_Mobile\Zend_Mobile_Push
Mpns Message
Parent(s)
\Zend_Mobile_Push_Message_Abstract
Children
\Zend_Mobile_Push_Message_Mpns_Toast
\Zend_Mobile_Push_Message_Mpns_Tile
\Zend_Mobile_Push_Message_Mpns_Raw
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstantstring  TYPE_RAW = 'raw'
Mpns types
TYPE_RAW
string

>VConstant  TYPE_TILE = 'token'
>VConstant  TYPE_TOAST = 'toast'

Properties

>VPropertyprotectedint $_delay
Delay
Details
Type
int

Methods

methodpublicgetDelay() : int
abstract

Get Delay

Returns
TypeDescription
int
methodpublicgetNotificationType() : string
static

Get Notification Type

Returns
TypeDescription
string
methodpublicgetXmlPayload() : string
abstract

Get XML Payload

Returns
TypeDescription
string
methodpublicsetDelay(int $delay) : \Zend_Mobile_Push_Message_Mpns
abstract

Set Delay

Parameters
NameTypeDescription
$delayint

one of const DELAY_* of implementing classes

Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns
methodpublicsetToken(string $token) : \Zend_Mobile_Push_Message_Mpns

Set Token

Parameters
NameTypeDescription
$tokenstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicvalidate() : boolean

Validate proper mpns message

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .