Definition at line 9 of file Notification.php.
◆ __construct()
| 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 43 of file Notification.php.
◆ getRecipient()
| Elgg_Notifications_Notification::getRecipient |
( |
| ) |
|
◆ getRecipientGUID()
| Elgg_Notifications_Notification::getRecipientGUID |
( |
| ) |
|
◆ getSender()
| Elgg_Notifications_Notification::getSender |
( |
| ) |
|
◆ getSenderGUID()
| Elgg_Notifications_Notification::getSenderGUID |
( |
| ) |
|
◆ $body
| Elgg_Notifications_Notification::$body |
◆ $from
| Elgg_Notifications_Notification::$from |
|
protected |
◆ $language
| Elgg_Notifications_Notification::$language |
◆ $params
| Elgg_Notifications_Notification::$params |
◆ $subject
| Elgg_Notifications_Notification::$subject |
◆ $summary
| Elgg_Notifications_Notification::$summary |
◆ $to
| Elgg_Notifications_Notification::$to |
|
protected |
The documentation for this class was generated from the following file: