\pm_Notification

Notification manager

Summary

Methods
Properties
Constants
__construct()
send()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

__construct()

__construct() 

Creates new instance of notification manager

send()

send(string  $id, array  $params = array(), \pm_Client|null  $client = null) : array

Sends a notification

Parameters

string $id

notification's id

array $params

mail params for email body and subject (placeholders: key => value).

\pm_Client|null $client

client or reseller who gets a notification.

Throws

\pm_Exception

Returns

array —

list of recipients