Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Mobile_Push_Gcm Class Reference

Public Member Functions

 getApiKey ()
 Get API Key.
 
 setApiKey ($key)
 Set API Key.
 
 getHttpClient ()
 Get Http Client.
 
 setHttpClient (Zend_Http_Client $client)
 Set Http Client.
 
 send (Zend_Mobile_Push_Message_Abstract $message)
 Send Message.
 
- Public Member Functions inherited from Zend_Mobile_Push_Abstract
 connect ()
 Connect to the Push Server.
 
 send (Zend_Mobile_Push_Message_Abstract $message)
 Send a Push Message.
 
 close ()
 Close the Connection to the Push Server.
 
 isConnected ()
 Is Connected.
 
 setOptions (array $options)
 Set Options.
 

Public Attributes

const SERVER_URI = 'https://android.googleapis.com/gcm/send'
 string Server URI
 

Protected Attributes

 $_httpClient
 
 $_apiKey
 
- Protected Attributes inherited from Zend_Mobile_Push_Abstract
 $_isConnected = false
 

Member Function Documentation

getApiKey ( )

Get API Key.

Returns
string
getHttpClient ( )

Get Http Client.

Returns
Zend_Http_Client
setApiKey (   $key)

Set API Key.

Parameters
string$key
Returns
Zend_Mobile_Push_Gcm
Exceptions
Zend_Mobile_Push_Exception
setHttpClient ( Zend_Http_Client  $client)

Set Http Client.

Returns
Zend_Mobile_Push_Gcm

Member Data Documentation

$_apiKey
protected
$_httpClient
protected
const SERVER_URI = 'https://android.googleapis.com/gcm/send'

string Server URI