ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ILIAS\News\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\News\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, protected InternalRepoService $repo_service, protected InternalDataService $data_service)
 
 resolver ()
 
 collection ()
 
 dashboard ()
 
 timeline ()
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 33 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\News\InternalDomainService::__construct ( Container  $DIC,
protected InternalRepoService  $repo_service,
protected InternalDataService  $data_service 
)

Definition at line 37 of file class.InternalDomainService.php.

41 {
42 $this->initDomainServices($DIC);
43 }
initDomainServices(\ILIAS\DI\Container $DIC)

References ILIAS\Repository\initDomainServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ collection()

ILIAS\News\InternalDomainService::collection ( )

Definition at line 55 of file class.InternalDomainService.php.

55 : NewsCollectionService
56 {
57 return new NewsCollectionService(
58 $this->repo_service->news(),
59 $this->repo_service->cache(),
60 $this->resolver(),
61 $this->objectDataCache(),
62 $this->DIC->rbac()->system()
63 );
64 }

◆ dashboard()

ILIAS\News\InternalDomainService::dashboard ( )

Definition at line 66 of file class.InternalDomainService.php.

66 : DashboardNewsManager
67 {
68 return new DashboardNewsManager(
69 $this->data_service,
70 $this->repo_service,
71 $this
72 );
73 }

Referenced by ILIAS\News\Dashboard\InternalGUIService\__construct().

+ Here is the caller graph for this function:

◆ resolver()

ILIAS\News\InternalDomainService::resolver ( )

Definition at line 45 of file class.InternalDomainService.php.

45 : UserContextResolver
46 {
47 return new UserContextResolver(
48 new \ilFavouritesDBRepository($this->DIC->database(), $this->repositoryTree()),
49 $this->access(),
50 $this->repositoryTree(),
51 $this->repo_service->cache()
52 );
53 }

◆ timeline()

ILIAS\News\InternalDomainService::timeline ( )

Definition at line 75 of file class.InternalDomainService.php.

75 : TimelineManager
76 {
77 return new TimelineManager(
78 $this->data_service,
79 $this->repo_service,
80 $this
81 );
82 }

The documentation for this class was generated from the following file: