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 $next_class = $this->ctrl->getNextClass($this);
43 $cmd = $this->ctrl->getCmd();
47 switch ($next_class) {
49 case 'ilpermissiongui':
50 $this->tabs_gui->setTabActive(
'perm_settings');
51 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
53 $ret =&$this->ctrl->forwardCommand($perm_gui);
56 case 'ildidactictemplatesettingsgui':
58 $ilTabs->activateTab(
'didactic_adm_tab');
59 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateSettingsGUI.php';
61 $this->ctrl->forwardCommand($did);
66 $ilTabs->activateTab(
'didactic_adm_tab');
67 $this->ctrl->redirectByClass(
'ildidactictemplatesettingsgui');
83 $lng->loadLanguageModule(
'didactic');
86 $this->ctrl->getLinkTargetByClass(
'ildidactictemplatesettingsgui',
'overview')
90 if ($rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
91 $this->tabs_gui->addTarget(
93 $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.
Create styles array
The data for the language used.
__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.