18 declare(strict_types=1);
28 public function __construct($a_data,
int $a_id,
bool $a_call_by_reference =
true,
bool $a_prepare_output =
true)
33 $this->
lng->loadLanguageModule(
'dateplaner');
34 $this->
lng->loadLanguageModule(
'jscalendar');
45 $next_class = $this->
ctrl->getNextClass($this);
49 if (!$this->rbac_system->checkAccess(
"visible,read", $this->object->getRefId())) {
50 $this->error->raiseError($this->
lng->txt(
'no_permission'), $this->error->WARNING);
53 switch ($next_class) {
54 case 'ilpermissiongui':
55 $this->tabs_gui->setTabActive(
'perm_settings');
57 $this->
ctrl->forwardCommand($perm_gui);
60 case 'ilecssettingsgui':
61 $this->tabs_gui->setTabActive(
'settings');
67 $this->tabs_gui->setTabActive(
'settings');
69 $this->
ctrl->setCmdClass(
'ilecssettingsgui');
84 if ($this->
access->checkAccess(
"read",
'', $this->object->getRefId())) {
85 $this->tabs_gui->addTarget(
87 $this->
ctrl->getLinkTargetByClass(
'ilecssettingsgui',
"overview"),
92 if ($this->
access->checkAccess(
'edit_permission',
'', $this->object->getRefId())) {
93 $this->tabs_gui->addTarget(
95 $this->
ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
prepareOutput(bool $show_sub_objects=true)
Class ilObjectGUI Basic methods of all Output classes.
__construct($a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
executeCommand()
Execute command.
__construct(Container $dic, ilPlugin $plugin)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.