20 $this->options =
array();
34 $this->numeric = $a_value;
46 foreach(array_keys($a_values) as $key)
50 throw new Exception(
"ilADTEnum was expecting numeric option keys");
55 $this->options = $a_values;
74 $class =
"ilADTEnumNumeric";
78 $class =
"ilADTEnumText";
80 include_once
"Services/ADT/classes/Types/Enum/class.ilADTEnum.php";
81 include_once
"Services/ADT/classes/Types/Enum/class.".$class.
".php";
82 return new $class($this);
isComparableTo(ilADT $a_adt)
setOptions(array $a_values)
Create styles array
The data for the language used.
ADT definition base class.