ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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 Sat Jan 18 2025 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)