49         $this->
help = $DIC[
"ilHelp"];
    50         $this->
user = $DIC->user();
    51         $tpl = $DIC->ui()->mainTemplate();
    52         $lng = $DIC->language();
    53         $ilCtrl = $DIC->ctrl();
    54         $ilHelp = $DIC[
"ilHelp"];
    56         $ilHelp->setScreenIdComponent(
"news");
    58         $this->std_request = $DIC->news()
    66         $this->
ctrl = $ilCtrl;
    70         $this->
ctrl->saveParameter($this, 
"news_ref_id");
    72         $this->gui = $DIC->news()
    75         $this->domain = $DIC->news()
    78         $this->dash_news_repo = $DIC->news()
    82         $this->dash_news_manager = $DIC->news()
    90         $next_class = $this->
ctrl->getNextClass();
    92         if (!$this->domain->settings()->get(
"block_activated_news")) {
    96         switch ($next_class) {
    97             case "ilnewstimelinegui":
    98                 $t = $this->gui->dashboard()->getTimelineGUI();
    99                 $this->
ctrl->forwardCommand($t);
   102             case "ilcommonactiondispatchergui":
   104                 $this->
ctrl->forwardCommand($gui);
   108                 $cmd = $this->
ctrl->getCmd(
"view");
   113         $this->tpl->printToStdout();
   119         $this->tpl->setTitle($this->
lng->txt(
"news"));
   125         $filter = $this->gui->dashboard()->getFilter();
   129         $filter = $this->gui->dashboard()->getFilter(
true);
   130         $t = $this->gui->dashboard()->getTimelineGUI();
   132         $this->tpl->setContent(
   134             $this->
ctrl->getHTML($t)
   142         $news_ref_id = $this->std_request->getNewsRefId();
   143         $news_per = $this->std_request->getNewsPer();
   145         $this->
ctrl->setParameter($this, 
"news_ref_id", $news_ref_id);
   146         $ilUser->writePref(
"news_sel_ref_id", (
string) $news_ref_id);
   150         $this->
ctrl->redirect($this, 
"view");
   155         $this->dash_news_manager->saveFilterData($filter->
getData());
 
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
saveFilterValues(FilterAdapterGUI $filter)
 
loadLanguageModule(string $a_module)
Load language module. 
 
Manages favourites, currently the interface for other components, needs discussion. 
 
ilFavouritesManager $fav_manager
 
ilGlobalTemplateInterface $tpl
 
InternalDomainService $domain
 
DashboardNewsManager $dash_news_manager
 
ILIAS News Dashboard DashboardSessionRepository $dash_news_repo
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
StandardGUIRequest $std_request
 
static set(string $a_var, $a_val)
Set a value. 
 
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call