3 declare(strict_types=1);
43 if ($a_value !== null) {
44 $this->value = $this->
getDefinition()->handleNumber((
int) $a_value);
60 return ($this->
getNumber() == $a_adt->getNumber());
68 return ($this->
getNumber() > $a_adt->getNumber());
76 return ($this->
getNumber() < $a_adt->getNumber());
90 $valid = parent::isValid();
94 if ($min !== null && $num < $min) {
100 if ($max !== null && $num > $max) {
130 if (is_object($a_std)) {
addValidationError(string $a_error_code)
isValidDefinition(ilADTDefinition $a_def)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
importStdClass(?stdClass $a_std)
ADT definition base class.
getDefinition()
Get definition.