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.ilADTTextDefinition.php
Go to the documentation of this file.
1
<?php
2
3
class
ilADTTextDefinition
extends
ilADTDefinition
4
{
5
protected
$max_length
;
// [int]
6
7
8
// properties
9
10
public
function
getMaxLength
()
11
{
12
return
$this->max_length
;
13
}
14
15
public
function
setMaxLength
($a_value)
16
{
17
$a_value = (int)$a_value;
18
if
($a_value < 1)
19
{
20
$a_value = null;
21
}
22
$this->max_length = $a_value;
23
}
24
25
26
// comparison
27
28
public
function
isComparableTo
(
ilADT
$a_adt)
29
{
30
// has to be text-based
31
return
($a_adt instanceof
ilADTText
);
32
}
33
}
34
35
?>
Services
ADT
classes
Types
Text
class.ilADTTextDefinition.php
Generated on Wed Apr 27 2016 21:01:28 for ILIAS by
1.8.1.2 (using
Doxyfile
)