ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilADTBooleanDefinition.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 boolean-based
10 return ($a_adt instanceof ilADTBoolean);
11 }
12}
An exception for terminatinating execution or to throw for unit testing.
isComparableTo(ilADT $a_adt)
Check if given ADT is comparable to self.
ADT definition base class.
ADT base class.
Definition: class.ilADT.php:12