ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilNotificationObject Class Reference

A concrete notification based on the ilNotificationConfiguration and returned by ilNotificationConfiguration::getUserInstance For attribute details see ilNotificatoinConfiguration. More...

+ Collaboration diagram for ilNotificationObject:

Public Member Functions

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

Data Fields

 $baseNotification
 
 $user
 
 $title
 
 $shortDescription
 
 $longDescription
 
 $link
 
 $linktarget
 
 $iconPath
 
 $handlerParams
 

Detailed Description

A concrete notification based on the ilNotificationConfiguration and returned by ilNotificationConfiguration::getUserInstance For attribute details see ilNotificatoinConfiguration.

Definition at line 332 of file class.ilNotificationConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilNotificationObject::__construct ( ilNotificationConfig  $baseNotification,
ilObjUser  $user 
)

Definition at line 353 of file class.ilNotificationConfig.php.

References $user, and user().

354  {
355  $this->baseNotification = $baseNotification;
356  $this->user = $user;
357 
358  $this->link = $this->baseNotification->getLink();
359  $this->linktarget = $this->baseNotification->getLinktarget();
360  $this->handlerParams = $this->baseNotification->getHandlerParams();
361  }
user()
Definition: user.php:4
+ Here is the call graph for this function:

Member Function Documentation

◆ __sleep()

ilNotificationObject::__sleep ( )

Definition at line 363 of file class.ilNotificationConfig.php.

364  {
365  return array('title', 'shortDescription', 'longDescription', 'iconPath', 'link', 'linktarget', 'handlerParams');
366  }

Field Documentation

◆ $baseNotification

ilNotificationObject::$baseNotification

Definition at line 338 of file class.ilNotificationConfig.php.

◆ $handlerParams

ilNotificationObject::$handlerParams

Definition at line 351 of file class.ilNotificationConfig.php.

◆ $iconPath

ilNotificationObject::$iconPath

Definition at line 350 of file class.ilNotificationConfig.php.

◆ $link

ilNotificationObject::$link

Definition at line 348 of file class.ilNotificationConfig.php.

◆ $linktarget

ilNotificationObject::$linktarget

Definition at line 349 of file class.ilNotificationConfig.php.

◆ $longDescription

ilNotificationObject::$longDescription

Definition at line 347 of file class.ilNotificationConfig.php.

◆ $shortDescription

ilNotificationObject::$shortDescription

Definition at line 346 of file class.ilNotificationConfig.php.

◆ $title

ilNotificationObject::$title

Definition at line 345 of file class.ilNotificationConfig.php.

◆ $user

ilNotificationObject::$user

Definition at line 343 of file class.ilNotificationConfig.php.


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