ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilGroupUserActionsGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
14 {
18  protected $ctrl;
19 
25  public function __construct()
26  {
27  global $DIC;
28 
29  $this->ctrl = $DIC->ctrl();
30  }
31 
35  public function executeCommand()
36  {
38 
39  $next_class = $ctrl->getNextClass($this);
40  $cmd = $ctrl->getCmd("show");
41 
42  switch ($next_class) {
43  case "ilgroupaddtogroupactiongui":
44  include_once("./Modules/Group/UserActions/classes/class.ilGroupAddToGroupActionGUI.php");
45  $gui = new ilGroupAddToGroupActionGUI();
46  $ctrl->forwardCommand($gui);
47  break;
48 
49  default:
50  /*if (in_array($cmd, array("show")))
51  {
52  $this->$cmd();
53  }*/
54  }
55  }
56 }
global $DIC
Definition: saml.php:7
Add user to group from awareness tool.