Mobile/Push/Message/Mpns/Tile.php

Show: inherited
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 [email protected] 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_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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id$  

Constants

Constantint  DELAY_IMMEDIATE = 1

Mpns delays

int
Constant  DELAY_450S = 11
Constant  DELAY_900S = 21
Constantstring  TYPE_RAW = 'raw'
inherited

Mpns types

Inherited from: \Zend_Mobile_Push_Message_Mpns::TYPE_RAW
Inherited_from
\Zend_Mobile_Push_Message_Mpns::TYPE_RAW  
string
Constant  TYPE_TILE = 'token'
Constant  TYPE_TOAST = 'toast'

Properties

Propertyprotectedstring $_backBackgroundImage =

Back Background Image

Details
Type
string
Propertyprotectedstring $_backContent =

Back Content

Details
Type
string
Propertyprotectedstring $_backTitle =

Back Title

Details
Type
string
Propertyprotectedstring $_backgroundImage =

Background Image

Details
Type
string
Propertyprotectedint $_count = 0

Count

Default value0Details
Type
int
Propertyprotectedint $_delay =
inherited

Delay

Inherited from: \Zend_Mobile_Push_Message_Mpns::$$_delay
Details
Type
int
Inherited_from
\Zend_Mobile_Push_Message_Mpns::$$_delay  
Propertyprotected\scalar $_id =
Details
Type
\scalar
Inherited_from
\Zend_Mobile_Push_Message_Abstract::$$_id  
Inherited_from
\Zend_Mobile_Push_Message_Mpns::$$_id  
Propertyprotectedstring $_tileId =

Tile ID

Details
Type
string
Propertyprotectedstring $_title =

Title

Details
Type
string

Methods

methodpublicgetBackBackgroundImage() : string

Get Back Background Image

Returns
Type Description
string
methodpublicgetBackContent() : string

Get Back Content

Returns
Type Description
string
methodpublicgetBackTitle() : string

Get Back Title

Returns
Type Description
string
methodpublicgetBackgroundImage() : string

Get Background Image

Returns
Type Description
string
methodpublicgetCount() : int

Get Count

Returns
Type Description
int
methodpublicgetDelay() : int

Get Delay

Returns
Type Description
int
methodpublicgetId() : \scalar
Returns
Type Description
\scalar
methodpublicgetNotificationType() : string
static

Get Notification Type

Returns
Type Description
string
methodpublicgetTileId() : string

Get Tile Id

Returns
Type Description
string
methodpublicgetTitle() : string

Get Title

Returns
Type Description
string
methodpublicgetToken() : string
Returns
Type Description
string
methodpublicgetXmlPayload() : string

Get XML Payload

Returns
Type Description
string
methodpublicsetBackBackgroundImage(string $bgImg) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Background Image

Parameters
Name Type Description
$bgImg string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackContent(string $content) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Content

Parameters
Name Type Description
$content string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackTitle(string $title) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Back Title

Parameters
Name Type Description
$title string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetBackgroundImage(string $bgImg) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Background Image

Parameters
Name Type Description
$bgImg string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetCount(int $count) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Count

Parameters
Name Type Description
$count int
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetDelay(int $delay) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Delay

Parameters
Name Type Description
$delay int
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetId(\scalar $id) : \Zend_Mobile_Push_Message_Abstract
Parameters
Name Type Description
$id \scalar
Returns
Type Description
\Zend_Mobile_Push_Message_Abstract
Throws
Exception Description
\Exception
methodpublicsetOptions(array $options) : \Zend_Mobile_Push_Message_Abstract
Parameters
Name Type Description
$options array
Returns
Type Description
\Zend_Mobile_Push_Message_Abstract
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetTileId(string $tileId) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Tile Id

Parameters
Name Type Description
$tileId string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetTitle(string $title) : \Zend_Mobile_Push_Message_Mpns_Tile

Set Title

Parameters
Name Type Description
$title string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns_Tile
Throws
Exception Description
\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
Name Type Description
$token string
Returns
Type Description
\Zend_Mobile_Push_Message_Mpns
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicvalidate() : boolean

Validate proper mpns message

Returns
Type Description
boolean
Documentation was generated by phpDocumentor 2.0.0a8.