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());
67 $this->
ctrl->redirectByClass(ilObjMediaCastGUI::class,
"showContent");
71 if ($ilAccess->checkAccess(
"read",
"", $this->request->getRefId())) {
72 $ilNavigationHistory->addItem(
73 $this->request->getRefId(),
74 "ilias.php?baseClass=ilMediaCastHandlerGUI&cmd=showContent&ref_id=" .
75 $this->request->getRefId(),
80 switch ($next_class) {
81 case 'ilobjmediacastgui':
82 $mc_gui = $this->gui->getObjMediaCastGUI();
83 $this->
ctrl->forwardCommand($mc_gui);
printToStdout(string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false)
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
Last visited history for repository items.