ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Group.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Refinery\Custom
;
22
23
use
ILIAS\Data\Factory
;
24
use
ilLanguage
;
25
use
ILIAS\Refinery\Constraint
as
ConstraintInterface
;
26
use
ILIAS\Refinery\Transformation
as
TransformationInterface
;
27
28
class
Group
29
{
30
private
Factory
$dataFactory
;
31
private
ilLanguage
$language
;
32
33
public
function
__construct
(
Factory
$dataFactory,
ilLanguage
$language)
34
{
35
$this->dataFactory =
$dataFactory
;
36
$this->
language
=
$language
;
37
}
38
44
public
function
constraint
(callable $callable,
$error
):
ConstraintInterface
45
{
46
return
new
Constraint
(
47
$callable,
48
$error
,
49
$this->dataFactory,
50
$this->
language
51
);
52
}
53
54
public
function
transformation
(callable $transform):
TransformationInterface
55
{
56
return
new
Transformation
($transform);
57
}
58
}
ILIAS\Refinery\Custom
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Constraint.php:21
ILIAS\Refinery\Custom\Transformation
Transform values according to custom configuration.
Definition:
Transformation.php:31
ilLanguage
ILIAS\Refinery\Custom\Group
Definition:
Group.php:28
Transformation
ILIAS\Refinery\Custom\Group\__construct
__construct(Factory $dataFactory, ilLanguage $language)
Definition:
Group.php:33
ILIAS\Refinery\Custom\Group\$dataFactory
Factory $dataFactory
Definition:
Group.php:30
ILIAS\Refinery\Custom\Group\$language
ilLanguage $language
Definition:
Group.php:31
Factory
Factory
ILIAS\Refinery\Custom\Group\constraint
constraint(callable $callable, $error)
Definition:
Group.php:44
ILIAS\Refinery\Custom\Constraint
Definition:
Constraint.php:31
ILIAS\Refinery\Custom\Group\transformation
transformation(callable $transform)
Definition:
Group.php:54
ILIAS\$error
ilErrorHandling $error
Definition:
class.ilias.php:55
ILIAS\UI\examples\Symbol\Glyph\Language\language
language()
Definition:
language.php:7
Constraint
src
Refinery
Custom
Group.php
Generated on Tue Apr 1 2025 22:02:46 for ILIAS by
1.8.13 (using
Doxyfile
)