Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Notification.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  * Notification object represents any notification in system. Used with NotificationManager.
11  */
13 {
14  /**
15  * @var string notification subject
16  */
17  public $subject;
18 
19  /**
20  * @var string notification text body
21  */
22  public $message;
23 
24  /**
25  * @var array array of recipients
26  */
27  public $recipients;
28 
29  /**
30  * Constructor
31  *
32  * @param string $subject notification subject
33  * @param string $message notification message
34  * @param array $recipients recipients
35  */
36  public function __construct($subject, $message, $recipients = array())
37  {
38  $this->subject = $subject;
39  $this->message = $message;
40  $this->recipients = $recipients;
41  }
42 
43 }