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

\Zend_Mobile_Push_Message_Abstract

Package: Zend_Mobile\Zend_Mobile_Push_Message
Message Abstract
Implements
Children
\Zend_Mobile_Push_Message_Apns
\Zend_Mobile_Push_Message_Gcm
\Zend_Mobile_Push_Message_Mpns
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id$  

Properties

>VPropertyprotectedscalar $_id
Id
Details
Type
scalar
>VPropertyprotectedstring $_token
Token
Details
Type
string

Methods

methodpublicgetId() : scalar

Get Message ID

Returns
TypeDescription
scalar
methodpublicgetToken() : string

Get Token

Returns
TypeDescription
string
methodpublicsetId(scalar $id) : \Zend_Mobile_Push_Message_Abstract

Set Message ID

Parameters
NameTypeDescription
$idscalar
Returns
TypeDescription
\Zend_Mobile_Push_Message_Abstract
Throws
ExceptionDescription
\Exception
methodpublicsetOptions(array $options) : \Zend_Mobile_Push_Message_Abstract

Set Options

Parameters
NameTypeDescription
$optionsarray
Returns
TypeDescription
\Zend_Mobile_Push_Message_Abstract
Throws
ExceptionDescription
\Zend_Mobile_Push_Message_Exception
methodpublicsetToken(string $token) : \Zend_Mobile_Push_Message_Abstract

Set Token

Parameters
NameTypeDescription
$tokenstring
Returns
TypeDescription
\Zend_Mobile_Push_Message_Abstract
methodpublicvalidate() : boolean

Validate Message format

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .