ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Notifications\Model\ilNotificationParameter Class Reference

description of a localized parameter this information is used locate translations while processing notifications More...

+ Collaboration diagram for ILIAS\Notifications\Model\ilNotificationParameter:

Public Member Functions

 __construct (private readonly string $name, private readonly array $parameters=[], private readonly string $language_module='notification')
 
 getName ()
 
 getParameters ()
 
 getLanguageModule ()
 

Detailed Description

description of a localized parameter this information is used locate translations while processing notifications

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e

Definition at line 29 of file ilNotificationParameter.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notifications\Model\ilNotificationParameter::__construct ( private readonly string  $name,
private readonly array  $parameters = [],
private readonly string  $language_module = 'notification' 
)
Parameters
array<string,string>$parameters

Definition at line 34 of file ilNotificationParameter.php.

38  {
39  }

Member Function Documentation

◆ getLanguageModule()

ILIAS\Notifications\Model\ilNotificationParameter::getLanguageModule ( )

Definition at line 54 of file ilNotificationParameter.php.

54  : string
55  {
56  return $this->language_module;
57  }

◆ getName()

ILIAS\Notifications\Model\ilNotificationParameter::getName ( )

Definition at line 41 of file ilNotificationParameter.php.

Referenced by ILIAS\Notifications\Model\ilNotificationLink\__construct(), and ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance().

41  : string
42  {
43  return $this->name;
44  }
+ Here is the caller graph for this function:

◆ getParameters()

ILIAS\Notifications\Model\ilNotificationParameter::getParameters ( )
Returns
array<string, string>

Definition at line 49 of file ilNotificationParameter.php.

49  : array
50  {
51  return $this->parameters;
52  }

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