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

Public Member Functions

 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.

Additional Inherited Members

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

Detailed Description

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

Member Function Documentation

ilADTDateTimeDefinition::isComparableTo ( ilADT  $a_adt)

Check if given ADT is comparable to self.

Parameters
ilADT$a_adt
Returns
bool

Reimplemented from ilADTDefinition.

Definition at line 7 of file class.ilADTDateTimeDefinition.php.

{
// has to be date-based
return ($a_adt instanceof ilADTDateTime || $a_adt instanceof ilADTDate);
}

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