ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
◀ ilDoc Overview
BaseFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions
;
22
23
use
ILIAS\UI\Component\Input\Field\Factory
as UIFactory;
24
use
ILIAS\UI\Component\Input\Container\Form\FormInput
;
25
use
ILIAS\MetaData\Editor\Presenter\PresenterInterface
;
26
use
ILIAS\MetaData\Repository\Validation\Dictionary\DictionaryInterface
as ConstraintDictionary;
27
use
ILIAS\MetaData\Elements\ElementInterface
;
28
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as SlotIdentifier;
29
use ILIAS\MetaData\Editor\Full\Components\Inputs\InputHelper;
30
31
abstract
class
BaseFactory
32
{
33
use InputHelper;
34
35
protected
UIFactory
$ui_factory
;
36
protected
PresenterInterface
$presenter
;
37
protected
ConstraintDictionary
$constraint_dictionary
;
38
39
public
function
__construct
(
40
UIFactory
$ui_factory
,
41
PresenterInterface
$presenter
,
42
ConstraintDictionary
$constraint_dictionary
43
) {
44
$this->ui_factory =
$ui_factory
;
45
$this->presenter =
$presenter
;
46
$this->constraint_dictionary =
$constraint_dictionary
;
47
}
48
49
abstract
public
function
getInput
(
50
ElementInterface
$element,
51
ElementInterface
$context_element
52
):
FormInput
;
53
54
abstract
public
function
getInputInCondition
(
55
ElementInterface
$element,
56
ElementInterface
$context_element,
57
SlotIdentifier $conditional_slot
58
):
FormInput
;
59
}
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory
Definition:
BaseFactory.php:32
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\getInputInCondition
getInputInCondition(ElementInterface $element, ElementInterface $context_element, SlotIdentifier $conditional_slot)
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\__construct
__construct(UIFactory $ui_factory, PresenterInterface $presenter, ConstraintDictionary $constraint_dictionary)
Definition:
BaseFactory.php:39
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\$constraint_dictionary
ConstraintDictionary $constraint_dictionary
Definition:
BaseFactory.php:37
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\$ui_factory
UIFactory $ui_factory
Definition:
BaseFactory.php:35
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\getInput
getInput(ElementInterface $element, ElementInterface $context_element)
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions\BaseFactory\$presenter
PresenterInterface $presenter
Definition:
BaseFactory.php:36
ILIAS\MetaData\Editor\Presenter\PresenterInterface
Definition:
PresenterInterface.php:24
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:29
ILIAS\MetaData\Repository\Validation\Dictionary\DictionaryInterface
Definition:
DictionaryInterface.php:26
ILIAS\UI\Component\Input\Container\Form\FormInput
This describes inputs that can be used in forms.
Definition:
FormInput.php:33
ILIAS\UI\Component\Input\Field\Factory
This is what a factory for input fields looks like.
Definition:
Factory.php:31
ILIAS\MetaData\Editor\Full\Components\Inputs\WithoutConditions
Definition:
BaseFactory.php:21
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
components
ILIAS
MetaData
classes
Editor
Full
Components
Inputs
WithoutConditions
BaseFactory.php
Generated on Sun Apr 5 2026 23:03:26 for ILIAS by
1.9.4 (using
Doxyfile
)