3declare(strict_types=1);
40 $this->values[] = $value_index;
45 if ($a_values ===
null) {
49 foreach ($a_values as $value_index) {
52 $checked_values[] = (
int) $clean_value;
55 $this->values = count($checked_values) ? $checked_values :
null;
70 return array_key_exists($a_value, $this->
getDefinition()->getOptions());
105 return md5(implode(
",", $current));
115 $obj =
new stdClass();
124 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.