ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
4 include_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 $ilAccess, $ilHelp;
52 
53  $ilHelp->setScreenIdComponent("grpr");
54 
55  if ($ilAccess->checkAccess('write', '', $this->object->getRefId())) {
56  $this->tabs_gui->addTarget(
57  "settings",
58  $this->ctrl->getLinkTarget($this, "edit"),
59  array(),
60  ""
61  );
62  }
63  if ($ilAccess->checkAccess('edit_permission', '', $this->object->getRefId())) {
64  $this->tabs_gui->addTarget(
65  "perm_settings",
66  $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm"),
67  array("perm","info","owner"),
68  'ilpermissiongui'
69  );
70  }
71  }
72 
78  public static function _goto($a_target)
79  {
80  include_once('./Services/ContainerReference/classes/class.ilContainerReference.php');
82 
83  include_once('./Modules/Group/classes/class.ilObjGroupGUI.php');
84  ilObjGroupGUI::_goto($target_ref_id);
85  }
86 }
static _goto($a_target)
Support for goto php.
static _lookupObjId($a_id)
Create styles array
The data for the language used.
static _goto($a_target, $a_add="")
goto target group
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=false)
ilObjGroupReferenceGUI constructor.
static _lookupTargetRefId($a_obj_id)
Lookup target ref_id.