3 require_once
"Services/ADT/classes/Bridges/class.ilADTFormBridge.php";
17 $this->option_infos = $a_info;
22 $this->auto_sort = (bool)$a_value;
29 $def = $this->
getADT()->getCopyOfDefinition();
33 if((
bool)$this->auto_sort)
40 foreach(
$options as $value => $caption)
43 if(is_array($this->option_infos) && array_key_exists($value, $this->option_infos))
45 $option->setInfo($this->option_infos[$value]);
47 $cbox->addOption($option);
52 $cbox->setValue($this->
getADT()->getSelections());
63 $field->setValue($this->
getADT()->getSelections());
68 $current = $this->
getADT()->getSelections();
69 return (is_array($current) && in_array($a_parent_option, $current));
This class represents an option in a checkbox group.
if(!is_array($argv)) $options
Create styles array
The data for the language used.