ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
HandlerInterface.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\Paths\PathInterface
;
24
use
ILIAS\MetaData\Vocabularies\Slots\Conditions\ConditionInterface
;
25
use
ILIAS\MetaData\Elements\Data\Type
as DataType;
26
27
interface
HandlerInterface
28
{
29
public
function
pathForSlot
(
Identifier
$identifier):
PathInterface
;
30
31
public
function
isSlotConditional
(
Identifier
$identifier): bool;
32
33
public
function
conditionForSlot
(
Identifier
$identifier): ?
ConditionInterface
;
34
35
public
function
identiferFromPathAndCondition
(
36
PathInterface
$path_to_element,
37
?
PathInterface
$path_to_condition,
38
?
string
$condition_value
39
):
Identifier
;
40
44
public
function
allSlotsForPath
(
PathInterface
$path_to_element): \Generator;
45
46
public
function
doesSlotExist
(
47
PathInterface
$path_to_element,
48
?
PathInterface
$path_to_condition,
49
?
string
$condition_value
50
): bool;
51
52
public
function
dataTypeForSlot
(
Identifier
$identifier): DataType;
53
}
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:26
ILIAS\MetaData\Vocabularies\Slots\Conditions\ConditionInterface
Definition:
ConditionInterface.php:26
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface
Definition:
HandlerInterface.php:28
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\conditionForSlot
conditionForSlot(Identifier $identifier)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\identiferFromPathAndCondition
identiferFromPathAndCondition(PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\pathForSlot
pathForSlot(Identifier $identifier)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\doesSlotExist
doesSlotExist(PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\allSlotsForPath
allSlotsForPath(PathInterface $path_to_element)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\dataTypeForSlot
dataTypeForSlot(Identifier $identifier)
ILIAS\MetaData\Vocabularies\Slots\HandlerInterface\isSlotConditional
isSlotConditional(Identifier $identifier)
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:24
ILIAS\MetaData\Vocabularies\Slots
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
components
ILIAS
MetaData
classes
Vocabularies
Slots
HandlerInterface.php
Generated on Sat Oct 18 2025 23:02:26 for ILIAS by
1.9.4 (using
Doxyfile
)