3 declare(strict_types=1);
    37     protected \ILIAS\News\InternalGUIService 
$gui;
    45         $this->data = $data_service;
    46         $this->domain = $domain_service;
    47         $this->gui = $gui_service;
    48         $this->manager = $domain_service->
dashboard();
    54         $lng = $this->domain->lng();
    55         if (is_null($this->
filter) || $force_re_init) {
    56             $per_options = $this->manager->getPeriodOptions();
    57             $context_options = $this->manager->getContextOptions();
    59             $this->
filter = $gui->filter(
    60                 "news_dashboard_filter",
    61                 [\ilDashboardGUI::class, \ilPDNewsGUI::class],
    68                     $lng->txt(
"news_time_period"),
    71                     (string) $this->manager->getDashboardNewsPeriod(),
    74                 ->select(
"news_ref_id", 
$lng->txt(
"context"), $context_options, 
true, null, 
true);
    81         $ctrl = $this->gui->ctrl();
    82         if ($ctrl->isAsynch() && ! $this->gui->standardRequest()->getFilterOff()) {
    83             $period = $this->manager->getDashboardNewsPeriod();
    84             $news_ref_id = $this->manager->getDashboardSelectedRefId();
    88             $period = (
int) ($data[
"news_per"] ?? 0);
    89             $news_ref_id = (
int) ($data[
"news_ref_id"] ?? 0);
    92         $t->setPeriod($period);
    93         $t->setEnableAddNews(
false);
    94         $t->setUserEditAll(
false);
 static getInstance(int $a_ref_id, bool $a_include_auto_entries)
 
__construct(InternalDataService $data_service, InternalDomainService $domain_service, \ILIAS\News\InternalGUIService $gui_service)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
InternalDomainService $domain
 
Class ChatMainBarProvider . 
 
InternalDataService $data
 
ILIAS News InternalGUIService $gui
 
getFilter($force_re_init=false)
 
trait GlobalDICGUIServices
 
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
 
DashboardNewsManager $manager
 
Repository internal data service.