ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
reset () | |
Init property defaults. | |
setDate (ilDateTime $a_value=null) | |
getDate () | |
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. | |
isValid () | |
Is currently valid. | |
getCheckSum () | |
Get unique checksum. | |
Public Member Functions inherited from ilADT | |
__construct (ilADTDefinition $a_def) | |
Constructor. | |
getType () | |
Get type (from class/instance) | |
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) | |
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. | |
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 | |
$value | |
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.ilADTDateTime.php.
ilADTDateTime::equals | ( | ilADT | $a_adt | ) |
Check if given ADT equals self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 42 of file class.ilADTDateTime.php.
References $value, getDate(), ilADT\getDefinition(), IL_CAL_UNIX, isNull(), and ilADT\isNull().
ilADTDateTime::getCheckSum | ( | ) |
Get unique checksum.
Reimplemented from ilADT.
Definition at line 116 of file class.ilADTDateTime.php.
References getDate(), IL_CAL_UNIX, and isNull().
ilADTDateTime::getDate | ( | ) |
Definition at line 34 of file class.ilADTDateTime.php.
References $value.
Referenced by equals(), getCheckSum(), isLarger(), and isSmaller().
ilADTDateTime::isLarger | ( | ilADT | $a_adt | ) |
Check if given ADT is larger than self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 57 of file class.ilADTDateTime.php.
References $value, getDate(), ilADT\getDefinition(), IL_CAL_UNIX, isNull(), and ilADT\isNull().
ilADTDateTime::isNull | ( | ) |
Is currently null.
Reimplemented from ilADT.
Definition at line 86 of file class.ilADTDateTime.php.
Referenced by equals(), getCheckSum(), isLarger(), and isSmaller().
ilADTDateTime::isSmaller | ( | ilADT | $a_adt | ) |
Check if given ADT is smaller than self.
ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 70 of file class.ilADTDateTime.php.
References $value, getDate(), ilADT\getDefinition(), IL_CAL_UNIX, isNull(), and ilADT\isNull().
ilADTDateTime::isValid | ( | ) |
Is currently valid.
Reimplemented from ilADT.
Definition at line 94 of file class.ilADTDateTime.php.
References $valid.
|
protected |
Check if definition is valid for ADT.
Reimplemented from ilADT.
Definition at line 10 of file class.ilADTDateTime.php.
ilADTDateTime::reset | ( | ) |
Init property defaults.
Reimplemented from ilADT.
Definition at line 15 of file class.ilADTDateTime.php.
ilADTDateTime::setDate | ( | ilDateTime | $a_value = null | ) |
Definition at line 25 of file class.ilADTDateTime.php.
|
protected |
Definition at line 5 of file class.ilADTDateTime.php.
Referenced by equals(), getDate(), isLarger(), and isSmaller().