Notification container.  
 More...
Notification container. 
- Since
- 1.10 
Definition at line 11 of file Notification.php.
◆ __construct()
      
        
          | 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.
 
 
◆ __serialize()
      
        
          | Elgg\Notifications\Notification::__serialize | ( |  | ) |  | 
      
 
Called when the object is serialized. 
- Returns
- array 
- See also
- serialize() 
Definition at line 149 of file Notification.php.
 
 
◆ getRecipient()
      
        
          | Elgg\Notifications\Notification::getRecipient | ( |  | ) |  | 
      
 
 
◆ getRecipientGUID()
      
        
          | Elgg\Notifications\Notification::getRecipientGUID | ( |  | ) |  | 
      
 
 
◆ getSender()
      
        
          | Elgg\Notifications\Notification::getSender | ( |  | ) |  | 
      
 
 
◆ getSenderGUID()
      
        
          | Elgg\Notifications\Notification::getSenderGUID | ( |  | ) |  | 
      
 
 
◆ toObject()
      
        
          | Elgg\Notifications\Notification::toObject | ( |  | ) |  | 
      
 
 
◆ $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 | 
 
 
◆ $url
      
        
          | Elgg\Notifications\Notification::$url | 
      
 
 
The documentation for this class was generated from the following file: