ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilNotificationLink.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Notifications\Model
;
22
26
class
ilNotificationLink
27
{
28
private
string
$title
=
''
;
29
30
public
function
__construct
(
private
ilNotificationParameter
$title_parameter,
private
string
$url
)
31
{
32
$this->title = $title_parameter->
getName
();
33
}
34
35
public
function
getTitle
(): string
36
{
37
return
$this->title
;
38
}
39
40
public
function
setTitle
(
string
$title): void
41
{
42
$this->title =
$title
;
43
}
44
45
public
function
getTitleParameter
():
ilNotificationParameter
46
{
47
return
$this->title_parameter;
48
}
49
50
public
function
setTitleParameter
(
ilNotificationParameter
$title_parameter): void
51
{
52
$this->title_parameter = $title_parameter;
53
}
54
55
public
function
getUrl
(): string
56
{
57
return
$this->url
;
58
}
59
60
public
function
setUrl
(
string
$url
): void
61
{
62
$this->url =
$url
;
63
}
64
}
ILIAS\Notifications\Model\ilNotificationLink\setTitle
setTitle(string $title)
Definition:
ilNotificationLink.php:40
ILIAS\Notifications\Model\ilNotificationLink\$title
string $title
Definition:
ilNotificationLink.php:28
ILIAS\Notifications\Model\ilNotificationParameter
description of a localized parameter this information is used locate translations while processing no...
Definition:
ilNotificationParameter.php:29
$url
$url
Definition:
shib_logout.php:68
ILIAS\Notifications\Model\ilNotificationLink\getUrl
getUrl()
Definition:
ilNotificationLink.php:55
ILIAS\Notifications\Model
Definition:
ilNotificationConfig.php:21
ILIAS\Notifications\Model\ilNotificationParameter\getName
getName()
Definition:
ilNotificationParameter.php:41
ILIAS\Notifications\Model\ilNotificationLink\__construct
__construct(private ilNotificationParameter $title_parameter, private string $url)
Definition:
ilNotificationLink.php:30
ILIAS\Notifications\Model\ilNotificationLink\getTitleParameter
getTitleParameter()
Definition:
ilNotificationLink.php:45
ILIAS\Notifications\Model\ilNotificationLink
Definition:
ilNotificationLink.php:26
ILIAS\Notifications\Model\ilNotificationLink\setTitleParameter
setTitleParameter(ilNotificationParameter $title_parameter)
Definition:
ilNotificationLink.php:50
ILIAS\Notifications\Model\ilNotificationLink\setUrl
setUrl(string $url)
Definition:
ilNotificationLink.php:60
ILIAS\Notifications\Model\ilNotificationLink\getTitle
getTitle()
Definition:
ilNotificationLink.php:35
components
ILIAS
Notifications
classes
Model
ilNotificationLink.php
Generated on Sun Aug 31 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)