ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilGroupUserActionsGUI Class Reference

Group user actions. More...

+ Collaboration diagram for ilGroupUserActionsGUI:

Public Member Functions

 __construct ()
 Constructor. More...
 
 executeCommand ()
 Execute command. More...
 

Protected Attributes

 $ctrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilGroupUserActionsGUI::__construct ( )

Constructor.

Parameters

Definition at line 25 of file class.ilGroupUserActionsGUI.php.

References $DIC.

26  {
27  global $DIC;
28 
29  $this->ctrl = $DIC->ctrl();
30  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ executeCommand()

ilGroupUserActionsGUI::executeCommand ( )

Execute command.

Definition at line 35 of file class.ilGroupUserActionsGUI.php.

References $ctrl.

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  }
Add user to group from awareness tool.

Field Documentation

◆ $ctrl

ilGroupUserActionsGUI::$ctrl
protected

Definition at line 18 of file class.ilGroupUserActionsGUI.php.

Referenced by executeCommand().


The documentation for this class was generated from the following file: