Documentation

pm_Notification
in package

Notification manager

Tags
since
17.0

Table of Contents

__construct()  : mixed
Creates new instance of notification manager
send()  : array<string|int, mixed>
Sends a notification

Methods

__construct()

Creates new instance of notification manager

public __construct() : mixed
Return values
mixed

send()

Sends a notification

public send(string $id[, array<string|int, mixed> $params = [] ][, pm_Client|null $client = null ]) : array<string|int, mixed>
Parameters
$id : string

notification's id

$params : array<string|int, mixed> = []

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

$client : pm_Client|null = null

client or reseller who gets a notification.

Tags
throws
pm_Exception
Return values
array<string|int, mixed>

list of recipients

Search results