ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Notifications\Model\ilNotificationLink Class Reference
+ Collaboration diagram for ILIAS\Notifications\Model\ilNotificationLink:

Public Member Functions

 __construct (private ilNotificationParameter $title_parameter, private string $url)
 
 getTitle ()
 
 setTitle (string $title)
 
 getTitleParameter ()
 
 setTitleParameter (ilNotificationParameter $title_parameter)
 
 getUrl ()
 
 setUrl (string $url)
 

Private Attributes

string $title = ''
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notifications\Model\ilNotificationLink::__construct ( private ilNotificationParameter  $title_parameter,
private string  $url 
)

Definition at line 30 of file ilNotificationLink.php.

31 {
32 $this->title = $title_parameter->getName();
33 }

References ILIAS\Notifications\Model\ilNotificationParameter\getName().

+ Here is the call graph for this function:

Member Function Documentation

◆ getTitle()

ILIAS\Notifications\Model\ilNotificationLink::getTitle ( )

◆ getTitleParameter()

ILIAS\Notifications\Model\ilNotificationLink::getTitleParameter ( )

Definition at line 45 of file ilNotificationLink.php.

46 {
47 return $this->title_parameter;
48 }
description of a localized parameter this information is used locate translations while processing no...

◆ getUrl()

ILIAS\Notifications\Model\ilNotificationLink::getUrl ( )

Definition at line 55 of file ilNotificationLink.php.

55 : string
56 {
57 return $this->url;
58 }
$url
Definition: shib_logout.php:68

References $url.

◆ setTitle()

ILIAS\Notifications\Model\ilNotificationLink::setTitle ( string  $title)

Definition at line 40 of file ilNotificationLink.php.

40 : void
41 {
42 $this->title = $title;
43 }

References ILIAS\Notifications\Model\ilNotificationLink\$title.

◆ setTitleParameter()

ILIAS\Notifications\Model\ilNotificationLink::setTitleParameter ( ilNotificationParameter  $title_parameter)

Definition at line 50 of file ilNotificationLink.php.

50 : void
51 {
52 $this->title_parameter = $title_parameter;
53 }

◆ setUrl()

ILIAS\Notifications\Model\ilNotificationLink::setUrl ( string  $url)

Definition at line 60 of file ilNotificationLink.php.

60 : void
61 {
62 $this->url = $url;
63 }

References $url.

Field Documentation

◆ $title

string ILIAS\Notifications\Model\ilNotificationLink::$title = ''
private

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