ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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 Sun Apr 13 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)