ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DataInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\MetaData\Elements\Data\DataInterface as ElementsDataInterface;
25
27{
28 public function dataValue(ElementsDataInterface $data): string;
29
30 public function vocabularyValue(
31 string $value,
32 SlotIdentifier $vocabulary_slot
33 ): string;
34
35 public function language(string $language): string;
36
37 public function datetime(string $datetime): string;
38
39 public function duration(string $duration): string;
40}
$datetime
$duration
dataValue(ElementsDataInterface $data)
vocabularyValue(string $value, SlotIdentifier $vocabulary_slot)