\Push_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
app_key()
master_secret()
getDevices()
addTags()
removeTags()
push()
push_a()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

app_key()

app_key() 

master_secret()

master_secret() 

getDevices()

getDevices(  $registrationID) 

Parameters

$registrationID

addTags()

addTags(  $registrationID,   $tags) 

Parameters

$registrationID
$tags

removeTags()

removeTags(  $registrationID,   $tags) 

Parameters

$registrationID
$tags

push()

push() 

push_a()

push_a(  $alias = '353',   $alert = '别名推送') 

Parameters

$alias
$alert