19declare(strict_types=1);
56 $this->values[] = $value_index;
61 if ($a_values ===
null) {
65 foreach ($a_values as $value_index) {
68 $checked_values[] = (
int) $clean_value;
71 $this->values = count($checked_values) ? $checked_values :
null;
86 return array_key_exists($a_value, $this->
getDefinition()->getOptions());
121 return md5(implode(
",", $current));
131 $obj =
new stdClass();
140 if (is_object($a_std)) {
ADT definition base class.
importStdClass(?stdClass $a_std)
Import value from stdClass.
isSmaller(ilADT $a_adt)
Check if given ADT is smaller than self.
isValidDefinition(ilADTDefinition $a_def)
Check if definition is valid for ADT.
getType()
Get type (from class/instance)
reset()
Init property defaults.
addSelection(int $value_index)
setSelections(?array $a_values=null)
handleSelectionValue($a_value)
equals(ilADT $a_adt)
Check if given ADT equals self.
getCheckSum()
Get unique checksum.
isNull()
Is currently null.
isLarger(ilADT $a_adt)
Check if given ADT is larger than self.
exportStdClass()
Export value as stdClass.
getCheckSum()
Get unique checksum.
getDefinition()
Get definition.