FileAccess Orion

PushSender

Table of Contents

AddExtra()  : Result
Add an extra target
AddTarget()  : Result
Add a target receiver
Execute()  : Result
Take the message arguments and send the message to the targets
GetFormPreset()  : Result
preset load the common settings preset for generation a form
GetSettings()  : Result
get load the common settings object
StoreSettings()  : Result
store store the common settings object

Methods

AddExtra()

Add an extra target

public AddExtra(mixed $extra) : Result
Parameters
$extra : mixed

The extra to send to device

Return values
Result

The operation status response

AddTarget()

Add a target receiver

public AddTarget(string $target) : Result
Parameters
$target : string

The target device

Return values
Result

The operation status response

Execute()

Take the message arguments and send the message to the targets

public Execute(string $message[, string $title = '' ], int $priority[, bool|string $sound = false ]) : Result
Parameters
$message : string

The message text itself

$title : string = ''

The message title

$priority : int

The priority level

$sound : bool|string = false

Play a sound

Return values
Result

The operation status response

GetFormPreset()

preset load the common settings preset for generation a form

public GetFormPreset() : Result
Return values
Result

$result A system result object

GetSettings()

get load the common settings object

public GetSettings() : Result
Return values
Result

$result A system result object

StoreSettings()

store store the common settings object

public StoreSettings(stdClass $values) : Result
Parameters
$values : stdClass

The configuration values

Return values
Result

$result A system result object

Search results