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-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_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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstantint  DELAY_IMMEDIATE = 3
Mpns delays
DELAY_IMMEDIATE
int

>VConstant  DELAY_450S = 13
>VConstant  DELAY_900S = 23

Properties

>VPropertyprotectedstring $_msg
Message
Details
Type
string

Methods

methodpublicgetDelay() : int

Get Delay

Returns
TypeDescription
int
methodpublicgetMessage() : string

Get Message

Returns
TypeDescription
string
methodpublicgetNotificationType() : string
static

Get Notification Type

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
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
methodpublicvalidate() : boolean

Validate proper mpns message

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .