ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
ElementHelperInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\ElementHelper
;
22
23
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
24
use
ILIAS\MetaData\Elements\ElementInterface
;
25
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as
SlotIdentifier
;
26
27
interface
ElementHelperInterface
28
{
29
public
function
slotForElement
(
ElementInterface
$element):
SlotIdentifier
;
30
36
public
function
slotsForElementWithoutCondition
(
ElementInterface
$element): \Generator;
37
41
public
function
vocabulariesForSlot
(
42
SlotIdentifier
$slot
43
): \Generator;
44
45
public
function
findElementOfCondition
(
46
SlotIdentifier
$slot,
47
ElementInterface
$element,
48
ElementInterface
...$all_elements
49
): ?
ElementInterface
;
50
}
ILIAS\MetaData\Vocabularies\ElementHelper
Definition:
ElementHelper.php:21
ILIAS\MetaData\Vocabularies\ElementHelper\ElementHelperInterface\findElementOfCondition
findElementOfCondition(SlotIdentifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
ILIAS\MetaData\Vocabularies\ElementHelper\ElementHelperInterface\slotsForElementWithoutCondition
slotsForElementWithoutCondition(ElementInterface $element)
Does not check the condition of the slots, so can return multiple slots per element.
ILIAS\MetaData\Vocabularies\ElementHelper\ElementHelperInterface\slotForElement
slotForElement(ElementInterface $element)
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ILIAS\MetaData\Vocabularies\ElementHelper\ElementHelperInterface
Definition:
ElementHelperInterface.php:27
Identifier
ElementInterface
ILIAS\MetaData\Vocabularies\ElementHelper\ElementHelperInterface\vocabulariesForSlot
vocabulariesForSlot(SlotIdentifier $slot)
VocabularyInterface
components
ILIAS
MetaData
classes
Vocabularies
ElementHelper
ElementHelperInterface.php
Generated on Wed Sep 10 2025 15:16:02 for ILIAS by
1.8.13 (using
Doxyfile
)