Mobile/Push/Gcm.php
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_Gcm
Package: Zend\Mobile\Zend\Mobile\Push
GCM Push
- Parent(s)
- \Zend_Mobile_Push_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Constants
Properties

boolean $_isConnected = false
Default value
falseDetails- Type
- boolean
- Inherited_from
- \Zend_Mobile_Push_Abstract::$$_isConnected
Methods

close() : void
inherited
Close the Connection to the Push Server
Inherited from: \Zend_Mobile_Push_Abstract::close()
send(\Zend_Mobile_Push_Message_Gcm $message) : \Zend_Mobile_Push_Response_GcmSend Message
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $message | \Zend_Mobile_Push_Message_Gcm |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Response_Gcm |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Exception |

setApiKey(string $key) : \Zend_Mobile_Push_GcmSet API Key
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Gcm |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Exception |

setHttpClient( $client) : \Zend_Mobile_Push_GcmSet Http Client
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $client |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Gcm |

setOptions(array $options) : \Zend_Mobile_Push_Abstract
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $options | array |
| Type | Description |
|---|---|
| \Zend_Mobile_Push_Abstract |
| Exception | Description |
|---|---|
| \Zend_Mobile_Push_Exception |