ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilADTMultiTextDefinition Class Reference
+ Inheritance diagram for ilADTMultiTextDefinition:
+ Collaboration diagram for ilADTMultiTextDefinition:

Public Member Functions

 getMaxLength ()
 setMaxLength ($a_value)
 getMaxSize ()
 setMaxSize ($a_value)
 isComparableTo (ilADT $a_adt)
 Check if given ADT is comparable to self.
- Public Member Functions inherited from ilADTDefinition
 __construct ()
 Constructor.
 getType ()
 Get type (from class/instance)
 setAllowNull ($a_value)
 Toggle null allowed status.
 isNullAllowed ()
 Is null currently allowed.

Protected Attributes

 $max_length
 $max_size
- Protected Attributes inherited from ilADTDefinition
 $allow_null

Additional Inherited Members

- Protected Member Functions inherited from ilADTDefinition
 reset ()
 Init property defaults.

Detailed Description

Definition at line 3 of file class.ilADTMultiTextDefinition.php.

Member Function Documentation

ilADTMultiTextDefinition::getMaxLength ( )

Definition at line 11 of file class.ilADTMultiTextDefinition.php.

References $max_length.

{
}
ilADTMultiTextDefinition::getMaxSize ( )

Definition at line 26 of file class.ilADTMultiTextDefinition.php.

References $max_size.

{
}
ilADTMultiTextDefinition::isComparableTo ( ilADT  $a_adt)

Check if given ADT is comparable to self.

Parameters
ilADT$a_adt
Returns
bool

Reimplemented from ilADTDefinition.

Definition at line 45 of file class.ilADTMultiTextDefinition.php.

{
// has to be text-based
return ($a_adt instanceof ilADTMultiText);
}
ilADTMultiTextDefinition::setMaxLength (   $a_value)

Definition at line 16 of file class.ilADTMultiTextDefinition.php.

{
$a_value = (int)$a_value;
if($a_value < 1)
{
$a_value = null;
}
$this->max_length = $a_value;
}
ilADTMultiTextDefinition::setMaxSize (   $a_value)

Definition at line 31 of file class.ilADTMultiTextDefinition.php.

{
$a_value = (int)$a_value;
if($a_value < 1)
{
$a_value = null;
}
$this->max_size = $a_value;
}

Field Documentation

ilADTMultiTextDefinition::$max_length
protected

Definition at line 5 of file class.ilADTMultiTextDefinition.php.

Referenced by getMaxLength().

ilADTMultiTextDefinition::$max_size
protected

Definition at line 6 of file class.ilADTMultiTextDefinition.php.

Referenced by getMaxSize().


The documentation for this class was generated from the following file: