28 protected \ILIAS\MediaCast\InternalGUIService
$gui;
29 protected \ILIAS\MediaCast\InternalDomainService
$domain;
41 $service = $DIC->mediaCast()->internal();
43 $this->domain = $domain =
$service->domain();
46 $this->
lng = $domain->lng();
47 $this->
access = $domain->access();
48 $this->tpl = $gui->ui()->mainTemplate();
49 $this->nav_history = $gui->navigationHistory();
50 $this->
ctrl = $gui->ctrl();
52 $this->request = $DIC->mediaCast()
64 $next_class = $this->
ctrl->getNextClass($this);
65 if ((
string) $next_class ===
"") {
66 $this->
ctrl->setParameterByClass(ilObjMediaCastGUI::class,
"ref_id", $this->request->getRefId());
68 $this->
ctrl->redirectByClass(ilObjMediaCastGUI::class,
"showContent");
72 if ($ilAccess->checkAccess(
"read",
"", $this->request->getRefId())) {
73 $ilNavigationHistory->addItem(
74 $this->request->getRefId(),
75 "ilias.php?baseClass=ilMediaCastHandlerGUI&cmd=showContent&ref_id=" .
76 $this->request->getRefId(),
81 switch ($next_class) {
82 case 'ilobjmediacastgui':
83 $mc_gui = $this->gui->getObjMediaCastGUI();
84 $this->
ctrl->forwardCommand($mc_gui);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
printToStdout(string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false)
Last visited history for repository items.