ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ 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
Definition:
Association.php:21
ILIAS\components\Database\Integrity\Ignore\NOT_EQUALS
const NOT_EQUALS
Definition:
Ignore.php:32
array_map
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\Ignore
Definition:
Ignore.php:23
ILIAS\components\Database\Integrity\Ignore\__construct
__construct(?string ... $values_to_ignore)
Definition:
Ignore.php:39
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\components\Database\Integrity\Ignore\$values_to_ignore
array $values_to_ignore
Definition:
Ignore.php:37
components
ILIAS
Database
classes
Integrity
Ignore.php
Generated on Tue Sep 2 2025 23:02:51 for ILIAS by
1.8.13 (using
Doxyfile
)