ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 354 of file class.ilNotificationConfig.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

References user().

376  {
377 
378  $this->baseNotification = $baseNotification;
379  $this->user = $user;
380 
381  $this->link = $this->baseNotification->getLink();
382  $this->linktarget = $this->baseNotification->getLinktarget();
383  $this->handlerParams = $this->baseNotification->getHandlerParams();
384  }
user()
Definition: user.php:4
+ Here is the call graph for this function:

Member Function Documentation

◆ __sleep()

ilNotificationObject::__sleep ( )

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

References array.

387  {
388  return array('title', 'shortDescription', 'longDescription', 'iconPath', 'link', 'linktarget', 'handlerParams');
389  }
Create styles array
The data for the language used.

Field Documentation

◆ $baseNotification

ilNotificationObject::$baseNotification

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

◆ $handlerParams

ilNotificationObject::$handlerParams

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

◆ $iconPath

ilNotificationObject::$iconPath

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

◆ $link

ilNotificationObject::$link

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

◆ $linktarget

ilNotificationObject::$linktarget

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

◆ $longDescription

ilNotificationObject::$longDescription

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

◆ $shortDescription

ilNotificationObject::$shortDescription

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

◆ $title

ilNotificationObject::$title

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

◆ $user

ilNotificationObject::$user

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


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