65         if ($this->lm->isActivePrintView() && 
$access->
checkAccess(
"read", 
"", $this->lm->getRefId())) {
    66             if (!$this->offline) {
    67                 $ui->mainTemplate()->addJavaScript(
"./Services/Form/js/Form.js");
    68                 $modal = 
$ui->factory()->modal()->roundtrip(
    70                     $ui->factory()->legacy(
'some modal')
    71                 )->withAsyncRenderUrl($this->
ctrl->getLinkTargetByClass(
"illmpresentationgui", 
"showPrintViewSelection"));
    74                     "label" => $this->
lng->txt(
"cont_print_view"),
    75                     "signal" => $modal->getShowSignal(),
    84             $is_public = $this->lm->isActiveDownloadsPublic();
    89         if ($this->lm->isActiveDownloads() && !$this->offline && $is_public &&
    91             $modal = 
$ui->factory()->modal()->roundtrip(
    93                 $ui->factory()->legacy(
'some modal')
    94             )->withAsyncRenderUrl($this->
ctrl->getLinkTargetByClass(
"illmpresentationgui", 
"showDownloadList"));
    96                 "label" => $this->
lng->txt(
"download"),
    97                 "signal" => $modal->getShowSignal(),
   104         $menu_editor = new \ilLMMenuEditor();
   105         $menu_editor->setObjId($this->lm->getId());
   107         $cust_menu = $menu_editor->getMenuEntries(
true);
   108         $generator = 
new SignalGenerator();
   109         if (count($cust_menu) > 0 && 
$access->
checkAccess(
"read", 
"", $this->lm->getRefId())) {
   110             foreach ($cust_menu as $entry) {
   112                 if ($entry[
"type"] == 
"intern") {
   113                     $entry[
"link"] = ILIAS_HTTP_PATH . 
"/goto.php?target=" . $entry[
"link"];
   117                 if (!strstr($entry[
"link"], 
'://') && !strstr($entry[
"link"], 
'mailto:')) {
   118                     $entry[
"link"] = 
"https://" . $entry[
"link"];
   121                 if (!strstr($entry[
"link"], 
'mailto:')) {
   125                 $signal = $generator->create();
   128                     "label" => $entry[
"title"],
   131                     "on_load" => 
"$(document).on('" .
   133                         "', function(event, signalData) {il.LearningModule.openMenuLink('" . $entry[
"link"] . 
"');});" static appendUrlParameterString(string $a_url, string $a_par, bool $xml_style=false)
 
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...
 
checkAccess(string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
 
setParameterByClass(string $a_class, string $a_parameter, $a_value)