4 include_once
'./Services/Object/classes/class.ilObjectGUI.php';
35 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
42 $this->error = $DIC[
'ilErr'];
43 $this->rbacsystem = $DIC->rbac()->system();
44 $this->lng = $this->dic->language();
45 $this->lng->loadLanguageModule(
'dateplaner');
46 $this->lng->loadLanguageModule(
'jscalendar');
57 $next_class = $this->ctrl->getNextClass($this);
61 if (!$this->rbacsystem->checkAccess(
"visible,read", $this->object->getRefId())) {
62 $this->error->raiseError($this->lng->txt(
'no_permission'), $this->error->WARNING);
65 switch ($next_class) {
66 case 'ilpermissiongui':
67 $this->tabs_gui->setTabActive(
'perm_settings');
68 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
70 $ret = &$this->ctrl->forwardCommand($perm_gui);
73 case 'ilecssettingsgui':
74 $this->tabs_gui->setTabActive(
'settings');
75 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
81 $this->tabs_gui->setTabActive(
'settings');
82 include_once
'./Services/WebServices/ECS/classes/class.ilECSSettingsGUI.php';
84 $this->ctrl->setCmdClass(
'ilecssettingsgui');
103 $ilAccess = $DIC[
'ilAccess'];
104 if ($ilAccess->checkAccess(
"read",
'', $this->object->getRefId())) {
105 $this->tabs_gui->addTarget(
107 $this->ctrl->getLinkTargetByClass(
'ilecssettingsgui',
"overview"),
112 if ($ilAccess->checkAccess(
'edit_permission',
'', $this->object->getRefId())) {
113 $this->tabs_gui->addTarget(
115 $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.
executeCommand()
Execute command.
__construct(Container $dic, ilPlugin $plugin)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.