ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NullElementHelper.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
class
NullElementHelper
implements
ElementHelperInterface
26
{
27
public
function
slotForElement
(
ElementInterface
$element):
Identifier
28
{
29
return
Identifier::NULL
;
30
}
31
35
public
function
slotsForElementWithoutCondition
(
ElementInterface
$element): \
Generator
36
{
37
yield
from
[];
38
}
39
40
public
function
potentialSlotForElementByCondition
(
41
ElementInterface
$element,
42
ElementInterface
$element_in_condition,
43
string
$value
44
):
Identifier
{
45
return
Identifier::NULL
;
46
}
47
48
public
function
findElementOfCondition
(
49
Identifier
$slot,
50
ElementInterface
$element,
51
ElementInterface
...$all_elements
52
): ?
ElementInterface
{
53
return
null
;
54
}
55
}
ILIAS\MetaData\Vocabularies\Slots\ElementHelperInterface
Definition:
ElementHelperInterface.php:25
ILIAS\MetaData\Vocabularies\Slots\NullElementHelper\findElementOfCondition
findElementOfCondition(Identifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
Definition:
NullElementHelper.php:48
ILIAS\MetaData\Vocabularies\Slots\NullElementHelper\slotsForElementWithoutCondition
slotsForElementWithoutCondition(ElementInterface $element)
Definition:
NullElementHelper.php:35
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:23
ILIAS\Data\Description\NULL
Definition:
ValueType.php:30
ILIAS\MetaData\Vocabularies\Slots\NullElementHelper
Definition:
NullElementHelper.php:25
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ILIAS\MetaData\Vocabularies\Slots\NullElementHelper\slotForElement
slotForElement(ElementInterface $element)
Definition:
NullElementHelper.php:27
Generator
ElementInterface
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from
from(FileStream $stream)
Definition:
GdImageToStreamTrait.php:49
ILIAS\MetaData\Vocabularies\Slots\NullElementHelper\potentialSlotForElementByCondition
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
Definition:
NullElementHelper.php:40
ILIAS\MetaData\Vocabularies\Slots
components
ILIAS
MetaData
classes
Vocabularies
Slots
NullElementHelper.php
Generated on Wed Sep 3 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)