ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ 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\Slots
;
22
23
use
ILIAS\MetaData\Elements\ElementInterface
;
24
25
interface
ElementHelperInterface
26
{
27
public
function
slotForElement
(
ElementInterface
$element):
Identifier
;
28
34
public
function
slotsForElementWithoutCondition
(
ElementInterface
$element): \Generator;
35
36
public
function
potentialSlotForElementByCondition
(
37
ElementInterface
$element,
38
ElementInterface
$element_in_condition,
39
string
$value
40
):
Identifier
;
41
42
public
function
findElementOfCondition
(
43
Identifier
$slot,
44
ElementInterface
$element,
45
ElementInterface
...$all_elements
46
): ?
ElementInterface
;
47
}
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface\slotForElement
slotForElement(ElementInterface $element)
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface
Definition:
ElementHelperInterface.php:25
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface\slotsForElementWithoutCondition
slotsForElementWithoutCondition(ElementInterface $element)
Does not check the condition of the slots, so can return multiple slots per element.
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:23
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface\findElementOfCondition
findElementOfCondition(Identifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ElementInterface
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface\potentialSlotForElementByCondition
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
ILIAS\MetaData\Vocabularies\Slots
components
ILIAS
MetaData
classes
Vocabularies
Slots
ElementHelperInterface.php
Generated on Tue Sep 2 2025 23:03:30 for ILIAS by
1.8.13 (using
Doxyfile
)