3 declare(strict_types=1);
    17         $this->option_infos = $a_info;
    22         $this->auto_sort = $a_value;
    27         $def = $this->
getADT()->getCopyOfDefinition();
    28         $options = $def->getOptions();
    30         if ($this->auto_sort) {
    36         foreach ($options as $value => $caption) {
    38             if (is_array($this->option_infos) && array_key_exists($value, $this->option_infos)) {
    39                 $option->setInfo($this->option_infos[$value]);
    41             $cbox->addOption($option);
    46         $cbox->setValue($this->
getADT()->getSelections());
    65         $field->setValue($this->
getADT()->getSelections());
    70         $current = $this->
getADT()->getSelections();
    71         return (is_array($current) && in_array($a_parent_option, $current));
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...