ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullData.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
26 class NullData implements DataInterface
27 {
28  public function dataValue(ElementsDataInterface $data): string
29  {
30  return '';
31  }
32 
33  public function vocabularyValue(
34  string $value,
35  SlotIdentifier $vocabulary_slot
36  ): string {
37  return '';
38  }
39 
40  public function language(string $language): string
41  {
42  return '';
43  }
44 
45  public function datetime(string $datetime): string
46  {
47  return '';
48  }
49 
50  public function duration(string $duration): string
51  {
52  return '';
53  }
54 }
$datetime
$duration
vocabularyValue(string $value, SlotIdentifier $vocabulary_slot)
Definition: NullData.php:33
dataValue(ElementsDataInterface $data)
Definition: NullData.php:28