ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilFileNewsRendererGUI.php
Go to the documentation of this file.
1 <?php
2 
27 {
28  #[\Override]
29  public function getTimelineActions(): array
30  {
31  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
32  $url = $this->ctrl->getLinkTargetByClass("ilrepositorygui", "sendfile");
33  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
34 
35  return [
36  $this->ui->factory()->link()->standard(
37  $this->lng->txt("download"),
38  $url
39  )
40  ];
41  }
42 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$url
Definition: shib_logout.php:66
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...