ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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
class.ilADTDefinition.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11
abstract
class
ilADTDefinition
12
{
13
protected
$allow_null
;
// [bool]
14
20
public
function
__construct
()
21
{
22
$this->
reset
();
23
}
24
30
public
function
getType
()
31
{
32
return
substr(substr(get_class($this), 5), 0, -10);
33
}
34
38
protected
function
reset
()
39
{
40
$this->
setAllowNull
(
true
);
41
}
42
43
44
//
45
// null
46
//
47
53
public
function
setAllowNull
($a_value)
54
{
55
$this->allow_null = (bool) $a_value;
56
}
57
63
public
function
isNullAllowed
()
64
{
65
return
$this->allow_null
;
66
}
67
68
69
//
70
// comparison
71
//
72
79
abstract
public
function
isComparableTo
(
ilADT
$a_adt);
80
}
ilADTDefinition\isComparableTo
isComparableTo(ilADT $a_adt)
Check if given ADT is comparable to self.
ilADTDefinition\__construct
__construct()
Constructor.
Definition:
class.ilADTDefinition.php:20
ilADTDefinition\setAllowNull
setAllowNull($a_value)
Toggle null allowed status.
Definition:
class.ilADTDefinition.php:53
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilADTDefinition\isNullAllowed
isNullAllowed()
Is null currently allowed.
Definition:
class.ilADTDefinition.php:63
ilADTDefinition\reset
reset()
Init property defaults.
Definition:
class.ilADTDefinition.php:38
ilADTDefinition\getType
getType()
Get type (from class/instance)
Definition:
class.ilADTDefinition.php:30
ilADTDefinition\$allow_null
$allow_null
Definition:
class.ilADTDefinition.php:13
ilADTDefinition
ADT definition base class.
Definition:
class.ilADTDefinition.php:11
Services
ADT
classes
class.ilADTDefinition.php
Generated on Sun Apr 6 2025 21:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)