ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
?>
Services
ADT
classes
Types
MultiText
class.ilADTMultiTextDefinition.php
Generated on Wed Apr 27 2016 21:01:28 for ILIAS by
1.8.1.2 (using
Doxyfile
)