ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ 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\Services\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
30
abstract
class
BaseFactory
31
{
32
use
InputHelper
;
33
34
protected
UIFactory
$ui_factory
;
35
protected
PresenterInterface
$presenter
;
36
protected
ConstraintDictionary
$constraint_dictionary
;
37
38
public
function
__construct
(
39
UIFactory
$ui_factory,
40
PresenterInterface
$presenter,
41
ConstraintDictionary
$constraint_dictionary
42
) {
43
$this->ui_factory =
$ui_factory
;
44
$this->presenter =
$presenter
;
45
$this->constraint_dictionary =
$constraint_dictionary
;
46
}
47
48
abstract
public
function
getInput
(
49
ElementInterface
$element,
50
ElementInterface
$context_element
51
):
FormInput
;
52
53
abstract
public
function
getInputInCondition
(
54
ElementInterface
$element,
55
ElementInterface
$context_element,
56
SlotIdentifier
$conditional_slot
57
):
FormInput
;
58
}
DictionaryInterface
FormInput
Factory
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\getInput
getInput(ElementInterface $element, ElementInterface $context_element)
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory
Definition:
BaseFactory.php:30
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\$ui_factory
UIFactory $ui_factory
Definition:
BaseFactory.php:34
Factory
Identifier
InputHelper
ElementInterface
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\getInputInCondition
getInputInCondition(ElementInterface $element, ElementInterface $context_element, SlotIdentifier $conditional_slot)
PresenterInterface
ILIAS\UI\Component\Input\Container\Form\FormInput
This describes inputs that can be used in forms.
Definition:
FormInput.php:32
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\$presenter
PresenterInterface $presenter
Definition:
BaseFactory.php:35
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\__construct
__construct(UIFactory $ui_factory, PresenterInterface $presenter, ConstraintDictionary $constraint_dictionary)
Definition:
BaseFactory.php:38
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions\BaseFactory\$constraint_dictionary
ConstraintDictionary $constraint_dictionary
Definition:
BaseFactory.php:36
ILIAS\MetaData\Editor\Full\Services\Inputs\WithoutConditions
Definition:
InputHelper.php:21
components
ILIAS
MetaData
classes
Editor
Full
Services
Inputs
WithoutConditions
BaseFactory.php
Generated on Wed Sep 3 2025 23:03:27 for ILIAS by
1.8.13 (using
Doxyfile
)