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)
27 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
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())) {
50 $ilErr->raiseError($this->lng->txt(
'no_permission'), $ilErr->WARNING);
53 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 'ilecssettingsgui':
62 $this->tabs_gui->setTabActive(
'settings');
63 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
69 $this->tabs_gui->setTabActive(
'settings');
70 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
72 $this->ctrl->setCmdClass(
'ilecssettingsgui');
89 if ($ilAccess->checkAccess(
"read",
'', $this->object->getRefId())) {
90 $this->tabs_gui->addTarget(
92 $this->ctrl->getLinkTargetByClass(
'ilecssettingsgui',
"overview"),
97 if ($ilAccess->checkAccess(
'edit_permission',
'', $this->object->getRefId())) {
98 $this->tabs_gui->addTarget(
100 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
Constructor.
prepareOutput($a_show_subobjects=true)
prepare output
Class ilObjectGUI Basic methods of all Output classes.
Create styles array
The data for the language used.
executeCommand()
Execute command.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.