3 declare(strict_types=1);
50 bool $include_auto_entries,
54 $user = $this->domain->user();
55 $news_item = new \ilNewsItem();
56 $news_item->setContextObjId($context_obj_id);
57 $news_item->setContextObjType($context_type);
60 $news_data = $news_item->getNewsForRefId(
67 !$include_auto_entries,
81 !$include_auto_entries,
static _getNewsItemsOfUser(int $a_user_id, bool $a_only_public=false, bool $a_prevent_aggregation=false, int $a_per=0, array &$a_cnt=[], bool $no_auto_generated=false, array $excluded=[], int $a_limit=0)
Get all news items for a user.
Notes internal repo service.
getNewsData(int $ref_id, int $context_obj_id, string $context_type, int $period, bool $include_auto_entries, int $items_per_load, array $excluded)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
InternalDomainService $domain
InternalRepoService $repo
InternalDataService $data
__construct(InternalDataService $data, InternalRepoService $repo, InternalDomainService $domain)
Repository internal data service.