34 if ($a_values !==
null) {
35 foreach ($a_values as $idx => $value) {
38 unset($a_values[$idx]);
41 if (!
sizeof($a_values)) {
45 $this->values = $a_values;
56 return array_key_exists($a_value, $this->
getDefinition()->getOptions());
95 return md5(implode(
",", $current));
105 $obj =
new stdClass();
113 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.
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.