Definition at line 11 of file Notification.php.
Elgg\Notifications\Notification::__construct |
( |
\ElggEntity |
$from, |
|
|
\ElggEntity |
$to, |
|
|
|
$language, |
|
|
|
$subject, |
|
|
|
$body, |
|
|
|
$summary = '' , |
|
|
array |
$params = array() |
|
) |
| |
Create a notification.
- Parameters
-
\ElggEntity | $from | The entity sending the notification (usually the site) |
\ElggEntity | $to | The entity receiving the notification |
string | $language | The language code for the notification |
string | $subject | The subject of the notification |
string | $body | The body of the notification |
string | $summary | Optional summary of the notification |
array | $params | Optional array of parameters |
- Exceptions
-
Definition at line 49 of file Notification.php.
Elgg\Notifications\Notification::getRecipient |
( |
| ) |
|
Elgg\Notifications\Notification::getRecipientGUID |
( |
| ) |
|
Elgg\Notifications\Notification::getSender |
( |
| ) |
|
Elgg\Notifications\Notification::getSenderGUID |
( |
| ) |
|
Elgg\Notifications\Notification::toObject |
( |
| ) |
|
Elgg\Notifications\Notification::$body |
Elgg\Notifications\Notification::$from |
|
protected |
Elgg\Notifications\Notification::$language |
Elgg\Notifications\Notification::$params |
Elgg\Notifications\Notification::$subject |
Elgg\Notifications\Notification::$summary |
Elgg\Notifications\Notification::$to |
|
protected |
const Elgg\Notifications\Notification::ORIGIN_INSTANT = 'instant_notifications' |
const Elgg\Notifications\Notification::ORIGIN_SUBSCRIPTIONS = 'subscriptions_service' |
The documentation for this class was generated from the following file: