3 include_once
"Services/ADT/classes/_Example/class.ilADTBasedObjectGUI.php";
14 include_once
"Services/ADT/classes/_Example/class.ilADTTest.php";
44 $a_adt_form->
getForm()->setTitle(
$lng->txt(
"test_form_title"));
45 $a_adt_form->
setTitle(
$lng->txt(
"test_form_section_title"));
46 $a_adt_form->
setInfo(
$lng->txt(
"test_form_section_title_info"));
49 $element->setTitle(
$lng->txt(
"test_form_" . $name));
52 $a_adt_form->
getElement(
"name")->setRequired(
true);
53 $a_adt_form->
getElement(
"lang")->setRequired(
true);
54 $a_adt_form->
getElement(
"tags")->setRequired(
true);
57 $a_adt_form->
getElement(
"lang")->forceRadio(
true, array(
"en" =>
$lng->txt(
"lang_en_info")));
59 $a_adt_form->
getElement(
"entry_date")->setParentElement(
"active");
64 $a_adt_form->
getElement(
"tags")->setParentElement(array(
"lang",
"de"));
65 $a_adt_form->
getElement(
"tags")->setInfo(
$lng->txt(
"test_form_tags_info"));
prepareFormElements(ilADTGroupFormBridge $a_adt_form)
This is a ADT-based example object.
This is the GUI for the ADT-based example object.
ADT based-object GUI base class.