ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilObjGroupReferenceGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once('./Services/ContainerReference/classes/class.ilContainerReferenceGUI.php');
12{
14 protected $target_type = 'grp';
16 protected $reference_type = 'grpr';
17
25 public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = false)
26 {
27 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
28 }
29
35 public function executeCommand()
36 {
37 parent::executeCommand();
38 }
39
40
49 public function getTabs()
50 {
51 global $DIC;
52
53 $ilAccess = $DIC['ilAccess'];
54 $ilHelp = $DIC['ilHelp'];
55
56 $ilHelp->setScreenIdComponent("grpr");
57
58 if ($ilAccess->checkAccess('write', '', $this->object->getRefId())) {
59 $this->tabs_gui->addTarget(
60 "settings",
61 $this->ctrl->getLinkTarget($this, "edit"),
62 array(),
63 ""
64 );
65 }
66 if ($ilAccess->checkAccess('edit_permission', '', $this->object->getRefId())) {
67 $this->tabs_gui->addTarget(
68 "perm_settings",
69 $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm"),
70 array("perm","info","owner"),
71 'ilpermissiongui'
72 );
73 }
74 }
75
81 public static function _goto($a_target)
82 {
83 include_once('./Services/ContainerReference/classes/class.ilContainerReference.php');
85
86 include_once('./Modules/Group/classes/class.ilObjGroupGUI.php');
87 ilObjGroupGUI::_goto($target_ref_id);
88 }
89}
An exception for terminatinating execution or to throw for unit testing.
static _lookupTargetRefId($a_obj_id)
Lookup target ref_id.
static _goto($a_target, $a_add="")
goto target group
static _goto($a_target)
Support for goto php.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=false)
ilObjGroupReferenceGUI constructor.
static _lookupObjId($a_id)
global $DIC
Definition: saml.php:7