ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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");
6 
15 {
16 
21  {
22  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
23  $url = $this->ctrl->getLinkTargetByClass("ilrepositorygui", "sendfile");
24  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $this->news_ref_id);
25 
26  $list->addItem($this->lng->txt("download"), "", $url);
27  }
28 }
if(isset($_REQUEST['delete'])) $list
Definition: registry.php:41
addTimelineActions(ilAdvancedSelectionListGUI $list)
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, $a_data=array())
Add an item.
User interface class for advanced drop-down selection lists.
$url