ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Ignore.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\Database\Integrity
;
22
23
class
Ignore
24
{
28
private
const
IS_NOT_NULL
=
'IS NOT NULL'
;
32
private
const
NOT_EQUALS
=
'!='
;
33
37
private
array
$values_to_ignore
;
38
39
public
function
__construct
(?
string
...
$values_to_ignore
)
40
{
41
$this->values_to_ignore = array_map(
static
fn(?
string
$value_to_ignore):
string
=>
null
=== $value_to_ignore ? self::IS_NOT_NULL : self::NOT_EQUALS .
' '
. $value_to_ignore,
$values_to_ignore
);
42
}
43
47
public
function
values
(): array
48
{
49
return
$this->values_to_ignore
;
50
}
51
}
ILIAS\components\Database\Integrity\Ignore
Definition:
Ignore.php:24
ILIAS\components\Database\Integrity\Ignore\$values_to_ignore
array $values_to_ignore
Definition:
Ignore.php:37
ILIAS\components\Database\Integrity\Ignore\NOT_EQUALS
const NOT_EQUALS
Definition:
Ignore.php:32
ILIAS\components\Database\Integrity\Ignore\__construct
__construct(?string ... $values_to_ignore)
Definition:
Ignore.php:39
ILIAS\components\Database\Integrity\Ignore\values
values()
Definition:
Ignore.php:47
ILIAS\components\Database\Integrity\Ignore\IS_NOT_NULL
const IS_NOT_NULL
Definition:
Ignore.php:28
ILIAS\components\Database\Integrity
Definition:
Association.php:21
components
ILIAS
Database
classes
Integrity
Ignore.php
Generated on Sat Oct 18 2025 23:02:55 for ILIAS by
1.9.4 (using
Doxyfile
)