ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilNotificationObject.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Notifications\Model
;
22
23
use
ilNotification
;
24
use
ilObjUser
;
25
29
class
ilNotificationObject
30
{
31
public
string
$title
=
''
;
32
public
string
$shortDescription
=
''
;
33
public
string
$longDescription
=
''
;
35
public
array
$links
= [];
36
public
string
$iconPath
=
''
;
38
public
array
$handlerParams
= [];
39
40
public
function
__construct
(
public
ilNotificationConfig
$baseNotification,
public
ilObjUser
$user)
41
{
42
$this->handlerParams = $this->baseNotification->getHandlerParams();
43
}
44
48
public
function
__sleep
(): array
49
{
50
return
[
'title'
,
'shortDescription'
,
'longDescription'
,
'iconPath'
,
'links'
,
'handlerParams'
];
51
}
52
}
ILIAS\Notifications\Model\ilNotificationObject\$iconPath
string $iconPath
Definition:
ilNotificationObject.php:36
ILIAS\Notifications\Model\ilNotificationConfig
Definition:
ilNotificationConfig.php:31
ILIAS\Notifications\Model\ilNotificationObject
Definition:
ilNotificationObject.php:29
ILIAS\Notifications\Model
Definition:
ilNotificationConfig.php:21
ilObjUser
ILIAS\Notifications\Model\ilNotificationObject\$links
array $links
Definition:
ilNotificationObject.php:35
ilNotification
ILIAS\Notifications\Model\ilNotificationObject\__sleep
__sleep()
Definition:
ilNotificationObject.php:48
ILIAS\Notifications\Model\ilNotificationObject\$shortDescription
string $shortDescription
Definition:
ilNotificationObject.php:32
ILIAS\Notifications\Model\ilNotificationObject\$longDescription
string $longDescription
Definition:
ilNotificationObject.php:33
ILIAS\Notifications\Model\ilNotificationObject\__construct
__construct(public ilNotificationConfig $baseNotification, public ilObjUser $user)
Definition:
ilNotificationObject.php:40
ILIAS\Notifications\Model\ilNotificationObject\$handlerParams
array $handlerParams
Definition:
ilNotificationObject.php:38
ILIAS\Notifications\Model\ilNotificationObject\$title
string $title
Definition:
ilNotificationObject.php:31
components
ILIAS
Notifications
classes
Model
ilNotificationObject.php
Generated on Sun Aug 31 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)