ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI Class Reference

ILIAS: ilDidacticTemplateGUI More...

+ Collaboration diagram for ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI:

Public Member Functions

 __construct (protected InternalDataService $data, protected InternalDomainService $domain, protected InternalGUIService $gui, protected int $obj_id, protected int $ref_id, protected bool $creation_mode, protected object $parent_gui, protected object $parent_obj)
 
 executeCommand ()
 

Protected Member Functions

 edit ()
 

Detailed Description

ILIAS: ilDidacticTemplateGUI

Definition at line 31 of file class.SettingsGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI::__construct ( protected InternalDataService  $data,
protected InternalDomainService  $domain,
protected InternalGUIService  $gui,
protected int  $obj_id,
protected int  $ref_id,
protected bool  $creation_mode,
protected object  $parent_gui,
protected object  $parent_obj 
)

Definition at line 33 of file class.SettingsGUI.php.

42  {
43  }

Member Function Documentation

◆ edit()

ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI::edit ( )
protected

Definition at line 68 of file class.SettingsGUI.php.

References $lng, ILIAS\Repository\Form\addOnline(), ILIAS\Repository\Form\addStdTile(), ILIAS\Repository\Form\addStdTitleAndDescription(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ILIAS\UI\examples\Input\Field\Checkbox\disabled(), ilGlossaryTerm\getTermsOfGlossary(), ILIAS\Repository\int(), and ilObjectServiceSettingsGUI\TAXONOMIES.

68  : void
69  {
70  $mt = $this->gui->ui()->mainTemplate();
71  $form = $this->getEditForm();
72  $mt->setContent($form->render());
73  }
+ Here is the call graph for this function:

◆ executeCommand()

ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI::executeCommand ( )

Definition at line 45 of file class.SettingsGUI.php.

References ILIAS\Repository\Form\getDidacticTemplateIdFromRequest().

45  : void
46  {
47  $ctrl = $this->gui->ctrl();
48  $next_class = $ctrl->getNextClass($this);
49  $cmd = $ctrl->getCmd("edit");
50 
51  switch ($next_class) {
52  case strtolower(\ilDidacticTemplateGUI::class):
53  $ctrl->setReturn($this, 'edit');
54  $did = new \ilDidacticTemplateGUI(
55  $this->parent_gui,
56  $this->getEditForm()->getDidacticTemplateIdFromRequest()
57  );
58  $ctrl->forwardCommand($did);
59  break;
60 
61  default:
62  if (in_array($cmd, ["edit", "save"])) {
63  $this->$cmd();
64  }
65  }
66  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: