19 declare(strict_types=1);
42 if ($a_value !==
null) {
43 $this->value = $this->
getDefinition()->handleNumber((
int) $a_value);
59 return ($this->
getNumber() == $a_adt->getNumber());
67 return ($this->
getNumber() > $a_adt->getNumber());
75 return ($this->
getNumber() < $a_adt->getNumber());
89 $valid = parent::isValid();
93 if ($min !==
null && $num < $min) {
99 if ($max !==
null && $num > $max) {
129 if (is_object($a_std)) {
addValidationError(string $a_error_code)
isValidDefinition(ilADTDefinition $a_def)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
importStdClass(?stdClass $a_std)
ADT definition base class.
getDefinition()
Get definition.