Mobile/Push/Message/Abstract.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  
Version
$Id$  

\Zend_Mobile_Push_Message_Abstract

Package: Zend\Mobile\Zend\Mobile\Push\Message

Message Abstract

Implements
\Zend_Mobile_Push_Message_Interface
Children
\Zend_Mobile_Push_Message_Apns
\Zend_Mobile_Push_Message_Gcm
\Zend_Mobile_Push_Message_Mpns
Category
Zend  
Copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id$  

Properties

Propertyprotected\scalar $_id =

Id

Details
Type
\scalar
Propertyprotectedstring $_token =

Token

Details
Type
string

Methods

methodpublicgetId() : \scalar

Get Message ID

Returns
Type Description
\scalar
methodpublicgetToken() : string

Get Token

Returns
Type Description
string
methodpublicsetId(\scalar $id) : \Zend_Mobile_Push_Message_Abstract

Set Message ID

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

Set Options

Parameters
Name Type Description
$options array
Returns
Type Description
\Zend_Mobile_Push_Message_Abstract
Throws
Exception Description
\Zend_Mobile_Push_Message_Exception
methodpublicsetToken(string $token) : \Zend_Mobile_Push_Message_Abstract

Set Token

Parameters
Name Type Description
$token string
Returns
Type Description
\Zend_Mobile_Push_Message_Abstract
methodpublicvalidate() : boolean

Validate Message format

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