4 include_once(
"./Services/Object/classes/class.ilObjectGUI.php");
24 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
27 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
29 $this->lng->loadLanguageModule(
"didactic");
42 $rbacsystem = $DIC[
'rbacsystem'];
44 $ilAccess = $DIC[
'ilAccess'];
45 $ilTabs = $DIC[
'ilTabs'];
47 $next_class = $this->ctrl->getNextClass($this);
48 $cmd = $this->ctrl->getCmd();
52 switch ($next_class) {
54 case 'ilpermissiongui':
55 $this->tabs_gui->setTabActive(
'perm_settings');
56 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
58 $ret = &$this->ctrl->forwardCommand($perm_gui);
61 case 'ildidactictemplatesettingsgui':
63 $ilTabs->activateTab(
'didactic_adm_tab');
64 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateSettingsGUI.php';
66 $this->ctrl->forwardCommand($did);
71 $ilTabs->activateTab(
'didactic_adm_tab');
72 $this->ctrl->redirectByClass(
'ildidactictemplatesettingsgui');
87 $rbacsystem = $DIC[
'rbacsystem'];
88 $ilAccess = $DIC[
'ilAccess'];
90 $ilTabs = $DIC[
'ilTabs'];
93 $lng->loadLanguageModule(
'didactic');
96 $this->ctrl->getLinkTargetByClass(
'ildidactictemplatesettingsgui',
'overview')
100 if ($rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
101 $this->tabs_gui->addTarget(
103 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
executeCommand()
Execute command.
Didactic Template administration gui.
prepareOutput($a_show_subobjects=true)
prepare output
Class ilObjectGUI Basic methods of all Output classes.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
Contructor.
Settings for a single didactic template.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.