ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Group.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
namespace
ILIAS\Refinery\Custom
;
8
9
use
ILIAS\Data\Factory
;
10
11
class
Group
12
{
16
private
$dataFactory
;
17
21
private
$language
;
22
23
public
function
__construct
(
Factory
$dataFactory
, \
ilLanguage
$language
)
24
{
25
$this->dataFactory =
$dataFactory
;
26
$this->
language
=
$language
;
27
}
28
34
public
function
constraint
(callable $callable, $error) :
Constraint
35
{
36
return
new
Constraint
(
37
$callable,
38
$error,
39
$this->dataFactory,
40
$this->
language
41
);
42
}
43
48
public
function
transformation
(callable $transform) :
Transformation
49
{
50
return
new
Transformation
($transform, $this->dataFactory);
51
}
52
}
ILIAS\Refinery\Custom\Group\$language
$language
Definition:
Group.php:21
ILIAS\Refinery\Custom
Definition:
Constraint.php:4
ILIAS\Refinery\Custom\Transformation
Transform values according to custom configuration.
Definition:
Transformation.php:14
ILIAS\Refinery\Custom\Group\$dataFactory
$dataFactory
Definition:
Group.php:16
ILIAS\Refinery\Custom\Group
Definition:
Group.php:11
Factory
ILIAS\Refinery\Custom\Group\constraint
constraint(callable $callable, $error)
Definition:
Group.php:34
ILIAS\Refinery\Custom\Constraint
Definition:
Constraint.php:12
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:19
ILIAS\Refinery\Custom\Group\transformation
transformation(callable $transform)
Definition:
Group.php:48
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ILIAS\Refinery\Custom\Group\__construct
__construct(Factory $dataFactory, \ilLanguage $language)
Definition:
Group.php:23
language
language()
Definition:
language.php:2
src
Refinery
Custom
Group.php
Generated on Wed Apr 9 2025 20:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)