ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilGroupUserActionsGUI Class Reference

Group user actions. More...

+ Collaboration diagram for ilGroupUserActionsGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 

Protected Attributes

ilCtrl $ctrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilGroupUserActionsGUI::__construct ( )

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

References $DIC, and ILIAS\Repository\ctrl().

20  {
21  global $DIC;
22  $this->ctrl = $DIC->ctrl();
23  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilGroupUserActionsGUI::executeCommand ( )

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

References $ctrl, ilCtrl\forwardCommand(), ilCtrl\getCmd(), and ilCtrl\getNextClass().

25  : void
26  {
28 
29  $next_class = $ctrl->getNextClass($this);
30  $cmd = $ctrl->getCmd("show");
31 
32  switch ($next_class) {
33  case "ilgroupaddtogroupactiongui":
34  $gui = new ilGroupAddToGroupActionGUI();
35  $ctrl->forwardCommand($gui);
36  break;
37  }
38  }
getCmd(string $fallback_command=null)
Add user to group from awareness tool.
forwardCommand(object $a_gui_object)
getNextClass($a_gui_class=null)
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilGroupUserActionsGUI::$ctrl
protected

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

Referenced by executeCommand().


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