ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilADTDateDefinition.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  // comparison
6 
7  public function isComparableTo(ilADT $a_adt)
8  {
9  // has to be date-based
10  return ($a_adt instanceof ilADTDate || $a_adt instanceof ilADTDateTime);
11  }
12 }
ADT base class.
Definition: class.ilADT.php:11
ADT definition base class.