ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
=
''
;
34
35
public
?
string
$action
=
null
;
37
public
array
$links
= [];
38
public
string
$iconPath
=
''
;
40
public
array
$handlerParams
= [];
41
42
public
function
__construct
(
public
ilNotificationConfig
$baseNotification,
public
ilObjUser
$user)
43
{
44
$this->handlerParams = $this->baseNotification->getHandlerParams();
45
}
46
50
public
function
__sleep
(): array
51
{
52
return
[
'title'
,
'shortDescription'
,
'longDescription'
,
'iconPath'
,
'links'
,
'handlerParams'
];
53
}
54
}
ILIAS\Notifications\Model\ilNotificationConfig
Definition:
ilNotificationConfig.php:32
ILIAS\Notifications\Model\ilNotificationObject
Definition:
ilNotificationObject.php:30
ILIAS\Notifications\Model\ilNotificationObject\$iconPath
string $iconPath
Definition:
ilNotificationObject.php:38
ILIAS\Notifications\Model\ilNotificationObject\$action
string $action
Definition:
ilNotificationObject.php:35
ILIAS\Notifications\Model\ilNotificationObject\__construct
__construct(public ilNotificationConfig $baseNotification, public ilObjUser $user)
Definition:
ilNotificationObject.php:42
ILIAS\Notifications\Model\ilNotificationObject\$longDescription
string $longDescription
Definition:
ilNotificationObject.php:33
ILIAS\Notifications\Model\ilNotificationObject\$title
string $title
Definition:
ilNotificationObject.php:31
ILIAS\Notifications\Model\ilNotificationObject\$handlerParams
array $handlerParams
Definition:
ilNotificationObject.php:40
ILIAS\Notifications\Model\ilNotificationObject\$links
array $links
Definition:
ilNotificationObject.php:37
ILIAS\Notifications\Model\ilNotificationObject\$shortDescription
string $shortDescription
Definition:
ilNotificationObject.php:32
ILIAS\Notifications\Model\ilNotificationObject\__sleep
__sleep()
Definition:
ilNotificationObject.php:50
ilNotification
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilNotification.php:23
ilObjUser
User class.
Definition:
class.ilObjUser.php:46
ILIAS\Notifications\Model
Definition:
ilNotificationConfig.php:21
components
ILIAS
Notifications
classes
Model
ilNotificationObject.php
Generated on Sat Oct 18 2025 23:03:30 for ILIAS by
1.9.4 (using
Doxyfile
)