3 declare(strict_types=1);
15 public function __construct($a_data, $a_id,
bool $a_call_by_reference =
true,
bool $a_prepare_output =
true)
20 $this->
lng->loadLanguageModule(
"didactic");
25 $next_class = $this->
ctrl->getNextClass($this);
27 switch ($next_class) {
28 case 'ilpermissiongui':
29 $this->tabs_gui->setTabActive(
'perm_settings');
31 $this->
ctrl->forwardCommand($perm_gui);
34 case 'ildidactictemplatesettingsgui':
35 $this->tabs_gui->activateTab(
'didactic_adm_tab');
37 $this->
ctrl->forwardCommand($did);
41 $this->tabs_gui->activateTab(
'didactic_adm_tab');
42 $this->
ctrl->redirectByClass(
'ildidactictemplatesettingsgui');
50 $this->
lng->loadLanguageModule(
'didactic');
51 $this->tabs_gui->addTarget(
53 $this->
ctrl->getLinkTargetByClass(
'ildidactictemplatesettingsgui',
'overview')
57 if ($this->rbac_system->checkAccess(
'edit_permission', $this->object->getRefId())) {
58 $this->tabs_gui->addTarget(
60 $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)
Settings for a single didactic template.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.