ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
$a_value = null;
21
}
22
$this->max_length = $a_value;
23
}
24
25
public
function
getMaxSize
()
26
{
27
return
$this->max_size
;
28
}
29
30
public
function
setMaxSize
($a_value)
31
{
32
$a_value = (int) $a_value;
33
if
($a_value < 1) {
34
$a_value = null;
35
}
36
$this->max_size = $a_value;
37
}
38
39
40
41
// comparison
42
43
public
function
isComparableTo
(
ilADT
$a_adt)
44
{
45
// has to be text-based
46
return
($a_adt instanceof
ilADTMultiText
);
47
}
48
}
ilADTMultiTextDefinition\$max_length
$max_length
Definition:
class.ilADTMultiTextDefinition.php:5
ilADTMultiTextDefinition\setMaxSize
setMaxSize($a_value)
Definition:
class.ilADTMultiTextDefinition.php:30
ilADTMultiTextDefinition\getMaxSize
getMaxSize()
Definition:
class.ilADTMultiTextDefinition.php:25
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
ilADTMultiTextDefinition\isComparableTo
isComparableTo(ilADT $a_adt)
Definition:
class.ilADTMultiTextDefinition.php:43
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 Sat Jan 18 2025 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)