ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
getType () | |
Get type (from class/instance) | |
reset () | |
Init property defaults. | |
setSelections (array $a_values=null) | |
getSelections () | |
isValidOption ($a_value) | |
equals (ilADT $a_adt) | |
Check if given ADT equals self. | |
isLarger (ilADT $a_adt) | |
Check if given ADT is larger than self. | |
isSmaller (ilADT $a_adt) | |
Check if given ADT is smaller than self. | |
isNull () | |
Is currently null. | |
getCheckSum () | |
Get unique checksum. | |
Public Member Functions inherited from ilADT | |
__construct (ilADTDefinition $a_def) | |
Constructor. | |
getCopyOfDefinition () | |
Get copy of definition. | |
isLargerOrEqual (ilADT $a_adt) | |
Check if given ADT is larger or equal than self. | |
isSmallerOrEqual (ilADT $a_adt) | |
Check if given ADT is smaller or equal than self. | |
isInbetween (ilADT $a_adt_from, ilADT $a_adt_to) | |
Check if self is inbetween given ADTs (exclusive) | |
isInbetweenOrEqual (ilADT $a_adt_from, ilADT $a_adt_to) | |
Check if self is inbetween given ADTs (inclusive) | |
isValid () | |
Is currently valid. | |
getValidationErrors () | |
Get all validation error codes. | |
translateErrorCode ($a_code) | |
Translate error-code to human-readable message. |
Protected Member Functions | |
isValidDefinition (ilADTDefinition $a_def) | |
Check if definition is valid for ADT. | |
handleSelectionValue ($a_value) | |
Protected Member Functions inherited from ilADT | |
setDefinition (ilADTDefinition $a_def) | |
Set definition. | |
getDefinition () | |
Get definition. | |
addValidationError ($a_error_code) | |
Add validation error code. |
Protected Attributes | |
$values | |
Protected Attributes inherited from ilADT | |
$definition | |
$validation_errors |
Additional Inherited Members | |
Data Fields inherited from ilADT | |
const | ADT_VALIDATION_ERROR_NULL_NOT_ALLOWED = "adt1" |
const | ADT_VALIDATION_ERROR_MAX_LENGTH = "adt2" |
const | ADT_VALIDATION_ERROR_MAX_SIZE = "adt3" |
const | ADT_VALIDATION_ERROR_MIN = "adt4" |
const | ADT_VALIDATION_ERROR_MAX = "adt5" |
const | ADT_VALIDATION_DATE = "adt6" |
Definition at line 3 of file class.ilADTMultiEnum.php.
ilADTMultiEnum::equals | ( | ilADT | $a_adt | ) |
Check if given ADT equals self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 66 of file class.ilADTMultiEnum.php.
References getCheckSum(), ilADT\getCheckSum(), and ilADT\getDefinition().
ilADTMultiEnum::getCheckSum | ( | ) |
Get unique checksum.
Reimplemented from ilADT.
Definition at line 95 of file class.ilADTMultiEnum.php.
References getSelections(), and isNull().
Referenced by equals().
ilADTMultiEnum::getSelections | ( | ) |
Definition at line 52 of file class.ilADTMultiEnum.php.
References $values.
Referenced by getCheckSum(), and isNull().
ilADTMultiEnum::getType | ( | ) |
Get type (from class/instance)
Reimplemented from ilADT.
Definition at line 7 of file class.ilADTMultiEnum.php.
|
abstractprotected |
Reimplemented in ilADTMultiEnumNumeric, and ilADTMultiEnumText.
Referenced by isValidOption(), and setSelections().
ilADTMultiEnum::isLarger | ( | ilADT | $a_adt | ) |
Check if given ADT is larger than self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 74 of file class.ilADTMultiEnum.php.
ilADTMultiEnum::isNull | ( | ) |
Is currently null.
Reimplemented from ilADT.
Definition at line 87 of file class.ilADTMultiEnum.php.
References getSelections().
Referenced by getCheckSum().
ilADTMultiEnum::isSmaller | ( | ilADT | $a_adt | ) |
Check if given ADT is smaller than self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 79 of file class.ilADTMultiEnum.php.
|
protected |
Check if definition is valid for ADT.
Reimplemented from ilADT.
Definition at line 15 of file class.ilADTMultiEnum.php.
ilADTMultiEnum::isValidOption | ( | $a_value | ) |
Definition at line 57 of file class.ilADTMultiEnum.php.
References ilADT\getDefinition(), and handleSelectionValue().
Referenced by setSelections().
ilADTMultiEnum::reset | ( | ) |
Init property defaults.
Reimplemented from ilADT.
Definition at line 20 of file class.ilADTMultiEnum.php.
ilADTMultiEnum::setSelections | ( | array | $a_values = null | ) |
Definition at line 32 of file class.ilADTMultiEnum.php.
References handleSelectionValue(), and isValidOption().
|
protected |
Definition at line 5 of file class.ilADTMultiEnum.php.
Referenced by getSelections().