ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
KeyValue.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
25 class KeyValue extends InterruptiveItem implements KeyValueInterface
26 {
27  protected string $key;
28  protected string $value;
29 
30  public function __construct(
31  string $id,
32  string $key,
33  string $value
34  ) {
36 
37  $this->key = $key;
38  $this->value = $value;
39  }
40 
41  public function getKey(): string
42  {
43  return $this->key;
44  }
45 
46  public function getValue(): string
47  {
48  return $this->value;
49  }
50 }
__construct(string $id, string $key, string $value)
Definition: KeyValue.php:30
getValue()
The value string that will be displayed behind the label of the node.
Definition: KeyValue.php:46
__construct(Container $dic, ilPlugin $plugin)