ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
5include_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}
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
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.
addTimelineActions(ilAdvancedSelectionListGUI $list)
$url