25 public function init(): void
27 $this->copy_enabled =
true;
28 $this->delete_enabled =
true;
29 $this->cut_enabled =
true;
30 $this->subscribe_enabled =
true;
31 $this->link_enabled =
true;
32 $this->info_screen_enabled =
true;
34 $this->gui_class_name =
"ilobjfilebasedlmgui";
45 $cmd_link =
"ilias.php?baseClass=ilHTLMPresentationGUI&ref_id=" .
$this->ref_id;
49 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
50 $cmd_link = $this->
ctrl->getLinkTargetByClass(
51 [ilRepositoryGUI::class, ilObjFileBasedLMGUI::class],
54 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
58 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
59 $cmd_link = $this->
ctrl->getLinkTargetByClass(
"ilrepositorygui", $cmd);
60 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->requested_ref_id);
92 $props = parent::getProperties();
95 $props[] = array(
"alert" =>
true,
"property" =>
$lng->
txt(
"status"),
96 "value" =>
$lng->
txt(
"no_start_file"));
100 $props[] = array(
"alert" =>
false,
"property" =>
$lng->
txt(
"type"),
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...
static isInfoEnabled(int $obj_id)
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 ...
getCommandLink(string $cmd)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
enableLearningProgress(bool $enabled)
checkInfoPageOnAsynchronousRendering()
static _determineStartUrl(int $a_id)
getCommandFrame(string $cmd)