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
Not.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 2017 Stefan Hecken <stefan.hecken@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\Refinery\Logical
;
5
6
use
ILIAS\Refinery\Custom\Constraint
;
7
use
ILIAS\Data
;
8
9
class
Not
extends
Constraint
10
{
14
protected
$constraint
;
15
16
public
function
__construct
(
Constraint
$constraint
, Data\
Factory
$data_factory, \
ilLanguage
$lng
)
17
{
18
$this->constraint =
$constraint
;
19
parent::__construct
(
20
function
($value) {
21
return
!$this->constraint->accepts($value);
22
},
23
function
(
$txt
, $value) {
24
return
$txt
(
"not_generic"
, $this->constraint->getErrorMessage($value));
25
},
26
$data_factory,
27
$lng
28
);
29
}
30
}
ILIAS\Refinery\Logical\Not
Definition:
Not.php:9
ILIAS\Refinery\Logical\Not\$constraint
$constraint
Definition:
Not.php:14
ILIAS\Refinery\Constraint
A constraint encodes some resrtictions on values.
Definition:
Constraint.php:14
Constraint
$lng
$lng
Definition:
save_question_post_data.php:23
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:19
$txt
$txt
Definition:
error.php:13
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\Refinery\Logical\Not\__construct
__construct(Constraint $constraint, Data\Factory $data_factory, \ilLanguage $lng)
Definition:
Not.php:16
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ILIAS\Data
Definition:
Alphanumeric.php:10
ILIAS\Refinery\Logical
Definition:
Group.php:4
src
Refinery
Logical
Not.php
Generated on Tue Apr 8 2025 20:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)