19 declare(strict_types=1);
29 public function __construct($a_data, $a_id,
bool $a_call_by_reference =
true,
bool $a_prepare_output =
true)
34 $this->
lng->loadLanguageModule(
"didactic");
39 $next_class = $this->
ctrl->getNextClass($this);
41 switch ($next_class) {
42 case 'ilpermissiongui':
43 $this->tabs_gui->setTabActive(
'perm_settings');
45 $this->
ctrl->forwardCommand($perm_gui);
48 case 'ildidactictemplatesettingsgui':
49 $this->tabs_gui->activateTab(
'didactic_adm_tab');
51 $this->
ctrl->forwardCommand($did);
55 $this->tabs_gui->activateTab(
'didactic_adm_tab');
56 $this->
ctrl->redirectByClass(
'ildidactictemplatesettingsgui');
64 $this->
lng->loadLanguageModule(
'didactic');
65 $this->tabs_gui->addTarget(
67 $this->
ctrl->getLinkTargetByClass(
'ildidactictemplatesettingsgui',
'overview')
71 if ($this->rbac_system->checkAccess(
'edit_permission', $this->object->getRefId())) {
72 $this->tabs_gui->addTarget(
74 $this->
ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
prepareOutput(bool $show_sub_objects=true)
Didactic Template administration gui.
Class ilObjectGUI Basic methods of all Output classes.
__construct($a_data, $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
__construct(Container $dic, ilPlugin $plugin)
Settings for a single didactic template.