ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilNotificationObject Class Reference

A concrete notification based on the ilNotificationConfiguration and returned by ilNotificationConfiguration::getUserInstance. 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 303 of file class.ilNotificationConfig.php.

Constructor & Destructor Documentation

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

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

References $baseNotification, and $user.

{
$this->baseNotification = $baseNotification;
$this->user = $user;
$this->link = $this->baseNotification->getLink();
$this->linktarget = $this->baseNotification->getLinktarget();
$this->handlerParams = $this->baseNotification->getHandlerParams();
}

Member Function Documentation

ilNotificationObject::__sleep ( )

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

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

Field Documentation

ilNotificationObject::$baseNotification

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

Referenced by __construct().

ilNotificationObject::$handlerParams

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

ilNotificationObject::$iconPath

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

ilNotificationObject::$link

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

ilNotificationObject::$linktarget

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

ilNotificationObject::$longDescription

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

ilNotificationObject::$shortDescription

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

ilNotificationObject::$title

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

ilNotificationObject::$user

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

Referenced by __construct().


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