19declare(strict_types=1);
42 $cmd = match ($action) {
43 Action::BLOCK => Command::BLOCK,
44 Action::UNBLOCK => Command::UNBLOCK,
45 Action::PUBLISH => Command::PUBLISH,
46 Action::WITHDRAW => Command::WITHDRAW,
47 Action::SUBMIT => Command::SUBMIT,
48 Action::ACCEPT => Command::ACCEPT,
56 $cmd = match ($action) {
57 Action::WITHDRAW => Command::CONFIRM_WITHDRAW,
58 Action::ACCEPT => Command::CONFIRM_ACCEPT,
73 $link = $this->
ctrl->getLinkTargetByClass(ControlCenterGUI::class, $cmd->value,
null,
true);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...