ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Notifications\Model\ilNotificationObject Class Reference
+ Collaboration diagram for ILIAS\Notifications\Model\ilNotificationObject:

Public Member Functions

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

Data Fields

string $title = ''
 
string $shortDescription = ''
 
string $longDescription = ''
 
array $links = []
 
string $iconPath = ''
 
array $handlerParams = []
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 40 of file ilNotificationObject.php.

41  {
42  $this->handlerParams = $this->baseNotification->getHandlerParams();
43  }

Member Function Documentation

◆ __sleep()

ILIAS\Notifications\Model\ilNotificationObject::__sleep ( )
Returns
list<string>

Definition at line 48 of file ilNotificationObject.php.

48  : array
49  {
50  return ['title', 'shortDescription', 'longDescription', 'iconPath', 'links', 'handlerParams'];
51  }

Field Documentation

◆ $handlerParams

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

Definition at line 38 of file ilNotificationObject.php.

◆ $iconPath

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

Definition at line 36 of file ilNotificationObject.php.

◆ $links

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

Definition at line 35 of file ilNotificationObject.php.

◆ $longDescription

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

Definition at line 33 of file ilNotificationObject.php.

◆ $shortDescription

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

Definition at line 32 of file ilNotificationObject.php.

◆ $title

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

Definition at line 31 of file ilNotificationObject.php.


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