4 include_once
'./Services/Object/classes/class.ilObjectGUI.php';
22 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
30 $this->lng->loadLanguageModule(
'dateplaner');
31 $this->lng->loadLanguageModule(
'jscalendar');
44 $next_class = $this->ctrl->getNextClass($this);
45 $cmd = $this->ctrl->getCmd();
49 if(!$ilAccess->checkAccess(
'read',
'',$this->object->getRefId()))
51 $ilErr->raiseError($this->lng->txt(
'no_permission'),$ilErr->WARNING);
56 case 'ilpermissiongui':
57 $this->tabs_gui->setTabActive(
'perm_settings');
58 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
60 $ret =& $this->ctrl->forwardCommand($perm_gui);
63 case 'ilecssettingsgui':
64 $this->tabs_gui->setTabActive(
'settings');
65 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
67 $this->ctrl->forwardCommand($settings);
71 $this->tabs_gui->setTabActive(
'settings');
72 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
74 $this->ctrl->setCmdClass(
'ilecssettingsgui');
75 $this->ctrl->forwardCommand($settings);
90 global $rbacsystem, $ilAccess;
91 if ($ilAccess->checkAccess(
"read",
'',$this->object->getRefId()))
93 $this->tabs_gui->addTarget(
"settings",
94 $this->ctrl->getLinkTargetByClass(
'ilecssettingsgui',
"overview"),
99 if ($ilAccess->checkAccess(
'edit_permission',
'',$this->object->getRefId()))
101 $this->tabs_gui->addTarget(
"perm_settings",
102 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
103 array(),
'ilpermissiongui');