ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilGroupUserActionsGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
30{
31 protected ilCtrl $ctrl;
32
33 public function __construct()
34 {
35 global $DIC;
36 $this->ctrl = $DIC->ctrl();
37 }
38
39 public function executeCommand(): void
40 {
42
43 $next_class = $ctrl->getNextClass($this);
44 $cmd = $ctrl->getCmd("show");
45
46 switch ($next_class) {
47 case "ilgroupaddtogroupactiongui":
48 $gui = new ilGroupAddToGroupActionGUI();
49 $ctrl->forwardCommand($gui);
50 break;
51 }
52 }
53}
Class ilCtrl provides processing control methods.
getNextClass($a_gui_class=null)
@inheritDoc
forwardCommand(object $a_gui_object)
@inheritDoc
getCmd(?string $fallback_command=null)
@inheritDoc
Add user to group from awareness tool.
global $DIC
Definition: shib_login.php:26