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

Package: Zend_Mobile\Zend_Mobile_Push
Mpns Toast 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 = 2
Mpns delays
DELAY_IMMEDIATE
int

>VConstant  DELAY_450S = 12
>VConstant  DELAY_900S = 22

Properties

>VPropertyprotectedstring $_msg
Message
Details
Type
string
>VPropertyprotectedstring $_params
Params
Details
Type
string
>VPropertyprotectedstring $_title
Title
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
methodpublicgetParams() : string

Get Params

Returns
TypeDescription
string
methodpublicgetTitle() : string

Get Title

Returns
TypeDescription
string
methodpublicgetXmlPayload() : string

Get XML Payload

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

Set Delay

Parameters
NameTypeDescription
$delayint
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Toast
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetMessage(string $msg) : \Zend_Mobile_Push_Message_Mpns_Toast

Set Message

Parameters
NameTypeDescription
$msgstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Toast
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetParams(string $params) : \Zend_Mobile_Push_Message_Mpns_Toast

Set Params

Parameters
NameTypeDescription
$paramsstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Toast
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetTitle(string $title) : \Zend_Mobile_Push_Message_Mpns_Toast

Set Title

Parameters
NameTypeDescription
$titlestring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Toast
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicvalidate() : boolean

Validate proper mpns message

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .