42 $this->rbacsystem =
$DIC->rbac()->system();
43 $this->
access = $DIC->access();
44 $this->nav_history =
$DIC[
"ilNavigationHistory"];
48 $ilCtrl =
$DIC->ctrl();
50 $this->request =
$DIC->htmlLearningModule()
62 $this->
ctrl = $ilCtrl;
65 $this->
ctrl->saveParameter($this, array(
"ref_id"));
71 $this->ref_id = $this->request->getRefId();
81 $next_class = $this->
ctrl->getNextClass($this);
82 $cmd = $this->
ctrl->getCmd(
"");
85 if ($ilAccess->checkAccess(
"read",
"", $this->ref_id)) {
86 $ilCtrl->setParameterByClass(
"ilobjfilebasedlmgui",
"ref_id", $this->ref_id);
87 $ilNavigationHistory->addItem(
89 $ilCtrl->getLinkTargetByClass(array(
"ilrepositorygui",
"ilobjfilebasedlmgui"),
"infoScreen"),
94 switch ($next_class) {
95 case "ilobjfilebasedlmgui":
97 $ilCtrl->forwardCommand($fblm_gui);
102 $this->
ctrl->saveParameterByClass(ilObjFileBasedLMGUI::class,
"ref_id");
103 $this->
ctrl->redirectByClass(ilObjFileBasedLMGUI::class,
"");
Class ilCtrl provides processing control methods.
GUI class for learning module editor.
ilNavigationHistory $nav_history
StandardGUIRequest $request
ilGlobalTemplateInterface $tpl
ilObjectDefinition $objDefinition
loadLanguageModule(string $a_module)
Load language module.
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...
Last visited history for repository items.
User Interface class for file based learning modules (HTML)
parses the objects.xml it handles the xml-description of all ilias objects
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
printToStdout(string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false)
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...