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

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

>VConstant  DELAY_450S = 11
>VConstant  DELAY_900S = 21

Properties

>VPropertyprotectedstring $_backBackgroundImage
Back Background Image
Details
Type
string
>VPropertyprotectedstring $_backContent
Back Content
Details
Type
string
>VPropertyprotectedstring $_backTitle
Back Title
Details
Type
string
>VPropertyprotectedstring $_backgroundImage
Background Image
Details
Type
string
>VPropertyprotectedint $_count = 0
Count
Default value0Details
Type
int
>VPropertyprotectedstring $_tileId
Tile ID
Details
Type
string
>VPropertyprotectedstring $_title
Title
Details
Type
string

Methods

methodpublicgetBackBackgroundImage() : string

Get Back Background Image

Returns
TypeDescription
string
methodpublicgetBackContent() : string

Get Back Content

Returns
TypeDescription
string
methodpublicgetBackTitle() : string

Get Back Title

Returns
TypeDescription
string
methodpublicgetBackgroundImage() : string

Get Background Image

Returns
TypeDescription
string
methodpublicgetCount() : int

Get Count

Returns
TypeDescription
int
methodpublicgetDelay() : int

Get Delay

Returns
TypeDescription
int
methodpublicgetNotificationType() : string
static

Get Notification Type

Returns
TypeDescription
string
methodpublicgetTileId() : string

Get Tile Id

Returns
TypeDescription
string
methodpublicgetTitle() : string

Get Title

Returns
TypeDescription
string
methodpublicgetXmlPayload() : string

Get XML Payload

Returns
TypeDescription
string
methodpublicsetBackBackgroundImage(string $bgImg) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Background Image

Parameters
NameTypeDescription
$bgImgstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackContent(string $content) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Content

Parameters
NameTypeDescription
$contentstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackTitle(string $title) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Title

Parameters
NameTypeDescription
$titlestring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackgroundImage(string $bgImg) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Background Image

Parameters
NameTypeDescription
$bgImgstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetCount(int $count) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Count

Parameters
NameTypeDescription
$countint
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetDelay(int $delay) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Delay

Parameters
NameTypeDescription
$delayint
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetTileId(string $tileId) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Tile Id

Parameters
NameTypeDescription
$tileIdstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetTitle(string $title) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Title

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

Validate proper mpns message

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .