3 include_once
"Services/ADT/classes/_Example/class.ilADTBasedObjectGUI.php";
14 include_once
"Services/ADT/classes/_Example/class.ilADTTest.php";
42 $a_adt_form->
getForm()->setTitle($lng->txt(
"test_form_title"));
43 $a_adt_form->
setTitle($lng->txt(
"test_form_section_title"));
44 $a_adt_form->
setInfo($lng->txt(
"test_form_section_title_info"));
47 $element->setTitle($lng->txt(
"test_form_" . $name));
50 $a_adt_form->
getElement(
"name")->setRequired(
true);
51 $a_adt_form->
getElement(
"lang")->setRequired(
true);
52 $a_adt_form->
getElement(
"tags")->setRequired(
true);
55 $a_adt_form->
getElement(
"lang")->forceRadio(
true,
array(
"en"=>$lng->txt(
"lang_en_info")));
57 $a_adt_form->
getElement(
"entry_date")->setParentElement(
"active");
63 $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.
Create styles array
The data for the language used.
ADT based-object GUI base class.