ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

31  {
32  $this->title = $title_parameter->getName();
33  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getTitle()

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

Definition at line 35 of file ilNotificationLink.php.

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

35  : string
36  {
37  return $this->title;
38  }

◆ getTitleParameter()

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

Definition at line 45 of file ilNotificationLink.php.

45  : ilNotificationParameter
46  {
47  return $this->title_parameter;
48  }

◆ getUrl()

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

Definition at line 55 of file ilNotificationLink.php.

References $url.

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

◆ setTitle()

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

Definition at line 40 of file ilNotificationLink.php.

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

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

◆ 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.

References $url.

60  : void
61  {
62  $this->url = $url;
63  }
$url
Definition: shib_logout.php:66

Field Documentation

◆ $title

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

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