Notification container.
More...
Notification container.
- Since
- 1.10
Definition at line 11 of file Notification.php.
Elgg\Notifications\Notification::__construct |
( |
\ElggEntity |
$from, |
|
|
\ElggEntity |
$to, |
|
|
|
$language, |
|
|
|
$subject, |
|
|
|
$body, |
|
|
|
$summary = '' , |
|
|
array |
$params = [] |
|
) |
| |
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 |
Definition at line 64 of file Notification.php.
Elgg\Notifications\Notification::__serialize |
( |
| ) |
|
Called when the object is serialized.
- Returns
- array
- See also
- serialize()
Definition at line 149 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 |
Elgg\Notifications\Notification::$url |
The documentation for this class was generated from the following file: