ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilADTMultiTextDefinition.php
Go to the documentation of this file.
1
<?
php
2
3
class
ilADTMultiTextDefinition
extends
ilADTDefinition
4
{
5
protected
$max_length
;
// [int]
6
protected
$max_size
;
// [int]
7
8
9
// properties
10
11
public
function
getMaxLength
()
12
{
13
return
$this->max_length
;
14
}
15
16
public
function
setMaxLength
($a_value)
17
{
18
$a_value = (int)$a_value;
19
if
($a_value < 1)
20
{
21
$a_value = null;
22
}
23
$this->max_length = $a_value;
24
}
25
26
public
function
getMaxSize
()
27
{
28
return
$this->max_size
;
29
}
30
31
public
function
setMaxSize
($a_value)
32
{
33
$a_value = (int)$a_value;
34
if
($a_value < 1)
35
{
36
$a_value = null;
37
}
38
$this->max_size = $a_value;
39
}
40
41
42
43
// comparison
44
45
public
function
isComparableTo
(
ilADT
$a_adt)
46
{
47
// has to be text-based
48
return
($a_adt instanceof
ilADTMultiText
);
49
}
50
}
51
52
?>
ilADTMultiTextDefinition\$max_length
$max_length
Definition:
class.ilADTMultiTextDefinition.php:5
ilADTMultiTextDefinition\setMaxSize
setMaxSize($a_value)
Definition:
class.ilADTMultiTextDefinition.php:31
ilADTMultiTextDefinition\getMaxSize
getMaxSize()
Definition:
class.ilADTMultiTextDefinition.php:26
ilADTMultiTextDefinition\getMaxLength
getMaxLength()
Definition:
class.ilADTMultiTextDefinition.php:11
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilADTMultiText
Definition:
class.ilADTMultiText.php:3
ilADTMultiTextDefinition\$max_size
$max_size
Definition:
class.ilADTMultiTextDefinition.php:6
ilADTMultiTextDefinition\setMaxLength
setMaxLength($a_value)
Definition:
class.ilADTMultiTextDefinition.php:16
php
ilADTMultiTextDefinition\isComparableTo
isComparableTo(ilADT $a_adt)
Definition:
class.ilADTMultiTextDefinition.php:45
ilADTDefinition
ADT definition base class.
Definition:
class.ilADTDefinition.php:11
ilADTMultiTextDefinition
Definition:
class.ilADTMultiTextDefinition.php:3
Services
ADT
classes
Types
MultiText
class.ilADTMultiTextDefinition.php
Generated on Fri Jan 24 2025 19:01:05 for ILIAS by
1.8.13 (using
Doxyfile
)