19 declare(strict_types=1);
37 $this->
ctrl = $DIC->ctrl();
38 $this->
lng = $DIC->language();
39 $this->main_tpl = $DIC->ui()->mainTemplate();
46 $cmd = $ctrl->
getCmd(
"show");
47 $this->main_tpl->setTitle($this->
lng->txt(
"my_courses_groups"));
48 switch ($next_class) {
49 case strtolower(ilMembershipBlockGUI::class):
52 $ret = $this->
ctrl->forwardCommand($block);
54 $this->main_tpl->setContent($ret);
59 if ($cmd ===
"show") {
63 $this->main_tpl->printToStdout();
66 protected function show(): void
71 $main_tpl->
setTitle($lng->
txt(
"my_courses_groups"));
getCmd(?string $fallback_command=null)
Returns the command passed with the current POST or GET request and fires an according ilCtrlEvent...
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setContent(string $a_html)
Sets content for standard template.
setTitle(string $a_title, bool $hidden=false)
Sets title in standard template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $main_tpl
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
setTitleIcon(string $a_icon_path, string $a_icon_desc="")
set title icon
Membership overview ilMembershipOverviewGUI: ilMembershipBlockGUI ilMembershipOverviewGUI: ilColumn...
getNextClass($a_gui_class=null)
Returns the fully-qualified classname of the next class in the control flow.
setReturn(object $a_gui_obj, ?string $a_cmd=null)
Sets the return command of a given GUI object.