ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DataInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
27 interface DataInterface
28 {
29  public function dataValue(ElementsDataInterface $data): string;
30 
34  public function vocabularyValues(SlotIdentifier $slot, string ...$values): \Generator;
35 
36  public function language(string $language): string;
37 
38  public function datetime(string $datetime): string;
39 
40  public function duration(string $duration): string;
41 
45  public function durationLabels(): \Generator;
46 }
dataValue(ElementsDataInterface $data)
$datetime
$duration
vocabularyValues(SlotIdentifier $slot, string ... $values)