from = $from; $this->to = $to; $this->language = $language; $this->subject = $subject; $this->body = $body; $this->summary = $summary; $this->params = $params; } /** * Get the sender entity * * @return \ElggEntity */ public function getSender() { return $this->from; } /** * Get the sender entity guid * * @return int */ public function getSenderGUID() { return $this->from->guid; } /** * Get the recipient entity * * @return \ElggEntity */ public function getRecipient() { return $this->to; } /** * Get the recipient entity guid * * @return int */ public function getRecipientGUID() { return $this->to->guid; } } /** * Notification container * * @package Elgg.Core * @subpackage Notifications * @since 1.9.0 * * @deprecated 1.10 Use \Elgg\Notifications\Notification instead */ class Elgg_Notifications_Notification extends \Elgg\Notifications\Notification {}