Mobile/Push/Message/Mpns/Raw.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-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

>VConstantint  DELAY_IMMEDIATE = 3
Mpns delays
int

>VConstant  DELAY_450S = 13
>VConstant  DELAY_900S = 23
>VConstantstring  TYPE_RAW = 'raw'
inherited
Mpns types
Inherited from: \Zend_Mobile_Push_Message_Mpns::TYPE_RAW
>VConstant  TYPE_TILE = 'token'
>VConstant  TYPE_TOAST = 'toast'

Properties

>VPropertyprotectedint $_delay
inherited
Delay
Inherited from: \Zend_Mobile_Push_Message_Mpns::$$_delay
Details
Type
int
Inherited_from
\Zend_Mobile_Push_Message_Mpns::$$_delay  
>VPropertyprotectedstring $_msg
Message
Details
Type
string

Methods

methodpublicgetDelay() : int

Get Delay

Returns
TypeDescription
int
methodpublicgetId() : \scalar
Returns
TypeDescription
\scalar
methodpublicgetMessage() : string

Get Message

Returns
TypeDescription
string
methodpublicgetNotificationType() : string
static

Get Notification Type

Returns
TypeDescription
string
methodpublicgetToken() : string
Returns
TypeDescription
string
methodpublicgetXmlPayload() : string

Get XML Payload

Returns
TypeDescription
string
methodpublicsetDelay(int $delay) : \Zend_Mobile_Push_Message_Mpns_Raw

Set Delay

Parameters
NameTypeDescription
$delayint
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Raw
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetId(\scalar $id) : \Zend_Mobile_Push_Message_Abstract
Parameters
NameTypeDescription
$id\scalar
Returns
TypeDescription
\Zend_Mobile_Push_Message_Abstract
Throws
ExceptionDescription
\Exception
methodpublicsetMessage(string $msg) : \Zend_Mobile_Push_Message_Mpns_Raw

Set Message

Parameters
NameTypeDescription
$msgstring

XML string

Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Raw
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetOptions(array $options) : \Zend_Mobile_Push_Message_Abstract
Parameters
NameTypeDescription
$optionsarray
Returns
TypeDescription
\Zend_Mobile_Push_Message_Abstract
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetToken(string $token) : \Zend_Mobile_Push_Message_Mpns
inherited

Set Token

Inherited from: \Zend_Mobile_Push_Message_Mpns::setToken()
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.0.0a12.