ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilADTBooleanDefinition Class Reference
+ Inheritance diagram for ilADTBooleanDefinition:
+ Collaboration diagram for ilADTBooleanDefinition:

Public Member Functions

 isComparableTo (ilADT $a_adt)
 Check if given ADT is comparable to self. More...
 
- Public Member Functions inherited from ilADTDefinition
 __construct ()
 Constructor. More...
 
 getType ()
 Get type (from class/instance) More...
 
 setAllowNull ($a_value)
 Toggle null allowed status. More...
 
 isNullAllowed ()
 Is null currently allowed. More...
 
 isComparableTo (ilADT $a_adt)
 Check if given ADT is comparable to self. More...
 

Additional Inherited Members

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

Detailed Description

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

Member Function Documentation

◆ isComparableTo()

ilADTBooleanDefinition::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.ilADTBooleanDefinition.php.

8 {
9 // has to be boolean-based
10 return ($a_adt instanceof ilADTBoolean);
11 }

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