ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PresentationInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25use ILIAS\MetaData\Presentation\UtilitiesInterface as PresentationUtilities;
27
29{
35 public function presentableLabels(
36 PresentationUtilities $presentation_utilities,
37 SlotIdentifier $slot,
38 bool $with_unknown_vocab_flag,
39 string ...$values
40 ): \Generator;
41
45 public function labelsForVocabulary(
46 PresentationUtilities $presentation_utilities,
47 VocabularyInterface $vocabulary
48 ): \Generator;
49}
presentableLabels(PresentationUtilities $presentation_utilities, SlotIdentifier $slot, bool $with_unknown_vocab_flag, string ... $values)
For values not from any active vocabulary, returns the value itself as label, optionally with 'unknow...
labelsForVocabulary(PresentationUtilities $presentation_utilities, VocabularyInterface $vocabulary)