ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilFileNewsRendererGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilFileNewsRendererGUI:
+ Collaboration diagram for ilFileNewsRendererGUI:

Public Member Functions

 getTimelineActions ()
 
- Public Member Functions inherited from ilNewsDefaultRendererGUI
 __construct ()
 
 setNewsItem (ilNewsItem $a_news_item, int $a_news_ref_id)
 
 getNewsItem ()
 
 getNewsRefId ()
 
 setLanguage (string $lang_key)
 
 getTimelineContent ()
 Render content for timeline. More...
 
 getDetailContent ()
 Render content for detail view. More...
 
 makeClickable (string $a_str)
 
 getTimelineActions ()
 
 getObjectLink ()
 Get link href for object link. More...
 
 preventEditing ()
 

Additional Inherited Members

- Protected Attributes inherited from ilNewsDefaultRendererGUI
ILIAS DI UIServices $ui
 
ILIAS Refinery Factory $refinery
 
string $lng_key
 
ilCtrl $ctrl
 
ilLanguage $lng
 
ilNewsItem $news_item
 
int $news_ref_id
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Default renderer

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 26 of file class.ilFileNewsRendererGUI.php.

Member Function Documentation

◆ getTimelineActions()

ilFileNewsRendererGUI::getTimelineActions ( )

Implements ilNewsRendererGUI.

Definition at line 29 of file class.ilFileNewsRendererGUI.php.

References $url, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().

29  : 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  }
$url
Definition: shib_logout.php:66
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: