19 declare(strict_types=1);
32 return (
string) $a_adt_search->getADT()->getSelections()[0];
37 return self::TYPE_SELECT_MULTI;
43 $def->setNumeric(
false);
46 $translated_options = [];
50 $def->setOptions(array_replace(
$options, $translated_options));
61 return self::XML_SEPARATOR .
62 implode(self::XML_SEPARATOR, (array) $element->getSelections()) .
69 foreach (explode(self::XML_SEPARATOR, $a_cdata) as $value) {
73 $this->
getADT()->setSelections($values);
80 $a_bridge->setAutoSort(
false);
translateLegacyImportValueFromXML(string $value)
On import from <7 options are not given by index but by their label.
prepareElementForEditor(ilADTFormBridge $a_bridge)
importNewSelectOptions(bool $multi, ilPropertyFormGUI $a_form, string $language='')
importCustomDefinitionFormPostValues(ilPropertyFormGUI $a_form, string $language='')
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getSearchQueryParserValue(ilADTSearchBridge $a_adt_search)
getValueForXML(ilADT $element)
importValueFromXML(string $a_cdata)
ADT definition base class.