ILIAS  release_8 Revision v8.24
ilNotificationObject.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24use ilObjUser;
25
30{
33 public string $title = '';
34 public string $shortDescription = '';
35 public string $longDescription = '';
39 public array $links = [];
40 public string $iconPath = '';
41 public array $handlerParams = [];
42
44 {
45 $this->baseNotification = $baseNotification;
46 $this->user = $user;
47 $this->handlerParams = $this->baseNotification->getHandlerParams();
48 }
49
53 public function __sleep(): array
54 {
55 return ['title', 'shortDescription', 'longDescription', 'iconPath', 'links', 'handlerParams'];
56 }
57}
__construct(ilNotificationConfig $baseNotification, ilObjUser $user)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
User class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...