3 require_once
"Services/ADT/classes/Bridges/class.ilADTFormBridge.php";
18 $this->auto_sort = (bool)$a_value;
23 $this->force_radio = (bool)$a_value;
24 if($this->force_radio)
26 $this->option_infos = $a_info;
34 $def = $this->
getADT()->getCopyOfDefinition();
35 $selection = $this->
getADT()->getSelection();
39 if((
bool)$this->auto_sort)
48 else if($this->
getADT()->isNull())
63 foreach(
$options as $value => $caption)
66 if(is_array($this->option_infos) && array_key_exists($value, $this->option_infos))
68 $option->setInfo($this->option_infos[$value]);
70 $select->addOption($option);
76 $select->setValue($selection);
87 $field->setValue($this->
getADT()->getSelection());
92 return ($this->
getADT()->getSelection() == $a_parent_option);
This class represents an option in a radio group.
if(!is_array($argv)) $options
Create styles array
The data for the language used.