ILIAS  release_8 Revision v8.24
class.ilGroupUserActionsGUI.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
6
16{
17 protected ilCtrl $ctrl;
18
19 public function __construct()
20 {
21 global $DIC;
22 $this->ctrl = $DIC->ctrl();
23 }
24
25 public function executeCommand(): 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 }
39}
Class ilCtrl provides processing control methods.
getNextClass($a_gui_class=null)
@inheritDoc
getCmd(string $fallback_command=null)
@inheritDoc
forwardCommand(object $a_gui_object)
@inheritDoc
Add user to group from awareness tool.
global $DIC
Definition: feed.php:28