ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
Ignore.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Services\Database\Integrity
;
22
23
class
Ignore
24
{
25
private
const
IS_NOT_NULL
=
'IS NOT NULL'
;
26
private
const
NOT_EQUALS
=
'!='
;
27
31
private
array
$values_to_ignore
;
32
33
public
function
__construct
(?
string
...$values_to_ignore)
34
{
35
$this->values_to_ignore = array_map(
static
function
(?
string
$value_to_ignore):
string
{
36
return
null === $value_to_ignore ? self::IS_NOT_NULL : self::NOT_EQUALS .
' '
. $value_to_ignore;
37
},
$values_to_ignore
);
38
}
39
43
public
function
values
(): array
44
{
45
return
$this->values_to_ignore
;
46
}
47
}
ILIAS\Services\Database\Integrity\Ignore\values
values()
Definition:
Ignore.php:43
ILIAS\Services\Database\Integrity\Ignore\__construct
__construct(?string ... $values_to_ignore)
Definition:
Ignore.php:33
ILIAS\Services\Database\Integrity\Ignore\NOT_EQUALS
const NOT_EQUALS
Definition:
Ignore.php:26
ILIAS\Services\Database\Integrity\Ignore
Definition:
Ignore.php:23
ILIAS\Services\Database\Integrity
Definition:
Association.php:21
ILIAS\Services\Database\Integrity\Ignore\IS_NOT_NULL
const IS_NOT_NULL
Definition:
Ignore.php:25
ILIAS\Services\Database\Integrity\Ignore\$values_to_ignore
array $values_to_ignore
Definition:
Ignore.php:31
Services
Database
classes
Integrity
Ignore.php
Generated on Wed Sep 10 2025 14:11:26 for ILIAS by
1.8.13 (using
Doxyfile
)