37 $this->values[] = $value_index;
43 if ($a_values ===
null) {
47 foreach ($a_values as $value_index) {
50 $checked_values[] = (int) $clean_value;
53 $this->values = count($checked_values) ? $checked_values :
null;
64 return array_key_exists($a_value, $this->
getDefinition()->getOptions());
103 return md5(implode(
",", $current));
121 if (is_object($a_std)) {
An exception for terminatinating execution or to throw for unit testing.
ADT definition base class.
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)
importStdClass($a_std)
Import value from stdClass.
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.