ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Notifications\Model\ilNotificationObject Class Reference
+ Collaboration diagram for ILIAS\Notifications\Model\ilNotificationObject:

Public Member Functions

 __construct (ilNotificationConfig $baseNotification, ilObjUser $user)
 
 __sleep ()
 

Data Fields

ilNotificationConfig $baseNotification
 
ilObjUser $user
 
string $title = ''
 
string $shortDescription = ''
 
string $longDescription = ''
 
array $links = []
 
string $iconPath = ''
 
array $handlerParams = []
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notifications\Model\ilNotificationObject::__construct ( ilNotificationConfig  $baseNotification,
ilObjUser  $user 
)

Definition at line 43 of file ilNotificationObject.php.

References ILIAS\Notifications\Model\ilNotificationObject\$baseNotification, ILIAS\Notifications\Model\ilNotificationObject\$user, and ILIAS\Repository\user().

44  {
45  $this->baseNotification = $baseNotification;
46  $this->user = $user;
47  $this->handlerParams = $this->baseNotification->getHandlerParams();
48  }
+ Here is the call graph for this function:

Member Function Documentation

◆ __sleep()

ILIAS\Notifications\Model\ilNotificationObject::__sleep ( )
Returns
string[]

Definition at line 53 of file ilNotificationObject.php.

53  : array
54  {
55  return ['title', 'shortDescription', 'longDescription', 'iconPath', 'links', 'handlerParams'];
56  }

Field Documentation

◆ $baseNotification

ilNotificationConfig ILIAS\Notifications\Model\ilNotificationObject::$baseNotification

◆ $handlerParams

array ILIAS\Notifications\Model\ilNotificationObject::$handlerParams = []

Definition at line 41 of file ilNotificationObject.php.

◆ $iconPath

string ILIAS\Notifications\Model\ilNotificationObject::$iconPath = ''

Definition at line 40 of file ilNotificationObject.php.

◆ $links

array ILIAS\Notifications\Model\ilNotificationObject::$links = []

Definition at line 39 of file ilNotificationObject.php.

◆ $longDescription

string ILIAS\Notifications\Model\ilNotificationObject::$longDescription = ''

Definition at line 35 of file ilNotificationObject.php.

◆ $shortDescription

string ILIAS\Notifications\Model\ilNotificationObject::$shortDescription = ''

Definition at line 34 of file ilNotificationObject.php.

◆ $title

string ILIAS\Notifications\Model\ilNotificationObject::$title = ''

Definition at line 33 of file ilNotificationObject.php.

◆ $user

ilObjUser ILIAS\Notifications\Model\ilNotificationObject::$user

The documentation for this class was generated from the following file: