ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilNotificationLink.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
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 
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 }
description of a localized parameter this information is used locate translations while processing no...
$url
Definition: shib_logout.php:66