ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilFileNewsRendererGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/News/classes/class.ilNewsDefaultRendererGUI.php");
14 {
19  {
20  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
21  $url = $this->ctrl->getLinkTargetByClass("ilrepositorygui", "sendfile");
22  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
23 
24  $list->addItem($this->lng->txt("download"), "", $url);
25  }
26 
27 }
28 
29 ?>
addItem($a_title, $a_value="", $a_link="", $a_img="", $a_alt="", $a_frame="", $a_html="", $a_prevent_background_click=false, $a_onclick="", $a_ttip="", $a_tt_my="right center", $a_tt_at="left center", $a_tt_use_htmlspecialchars=true)
Add an item.
$url
Definition: shib_logout.php:72
addTimelineActions(ilAdvancedSelectionListGUI $list)
User interface class for advanced drop-down selection lists.