ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilADTDefinition.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
25
abstract
class
ilADTDefinition
26
{
27
protected
bool
$allow_null
;
28
29
public
function
__construct
()
30
{
31
$this->
reset
();
32
}
33
38
public
function
getType
(): string
39
{
40
return
substr(substr(get_class($this), 5), 0, -10);
41
}
42
46
public
function
reset
(): void
47
{
48
$this->
setAllowNull
(
true
);
49
}
50
51
52
//
53
// null
54
//
55
60
public
function
setAllowNull
(
bool
$a_value): void
61
{
62
$this->allow_null = $a_value;
63
}
64
65
public
function
isNullAllowed
(): bool
66
{
67
return
$this->allow_null
;
68
}
69
70
71
//
72
// comparison
73
//
74
80
abstract
public
function
isComparableTo
(
ilADT
$a_adt): bool;
81
}
ilADTDefinition\isComparableTo
isComparableTo(ilADT $a_adt)
Check if given ADT is comparable to self.
ilADTDefinition\__construct
__construct()
Definition:
class.ilADTDefinition.php:29
ilADTDefinition\setAllowNull
setAllowNull(bool $a_value)
Toggle null allowed status.
Definition:
class.ilADTDefinition.php:60
ilADT
ADT base class.
Definition:
class.ilADT.php:25
ilADTDefinition\$allow_null
bool $allow_null
Definition:
class.ilADTDefinition.php:27
ilADTDefinition\isNullAllowed
isNullAllowed()
Definition:
class.ilADTDefinition.php:65
ilADTDefinition\reset
reset()
Init property defaults.
Definition:
class.ilADTDefinition.php:46
ilADTDefinition\getType
getType()
Get type (from class/instance)
Definition:
class.ilADTDefinition.php:38
ilADTDefinition
ADT definition base class.
Definition:
class.ilADTDefinition.php:25
components
ILIAS
ADT
classes
class.ilADTDefinition.php
Generated on Fri Apr 4 2025 23:02:03 for ILIAS by
1.8.13 (using
Doxyfile
)