ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
ILIAS\News\InternalRepoService Class Reference

Notes internal repo service. More...

+ Collaboration diagram for ILIAS\News\InternalRepoService:

Public Member Functions

 __construct (protected InternalDataService $data, protected \ilDBInterface $db)
 
 cache ()
 
 news ()
 
 dashboard ()
 

Protected Attributes

NewsCache $cache
 

Detailed Description

Notes internal repo service.

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

Definition at line 31 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\News\InternalRepoService::__construct ( protected InternalDataService  $data,
protected \ilDBInterface  $db 
)

Definition at line 35 of file class.InternalRepoService.php.

36 {
37 $this->cache = new NewsCache();
38 }
Multi-Level News Cache Implementation:
Definition: NewsCache.php:36

References ILIAS\News\InternalRepoService\cache().

+ Here is the call graph for this function:

Member Function Documentation

◆ cache()

ILIAS\News\InternalRepoService::cache ( )

Definition at line 40 of file class.InternalRepoService.php.

References ILIAS\News\InternalRepoService\$cache.

Referenced by ILIAS\News\InternalRepoService\__construct().

+ Here is the caller graph for this function:

◆ dashboard()

ILIAS\News\InternalRepoService::dashboard ( )

Definition at line 50 of file class.InternalRepoService.php.

50 : DashboardSessionRepository
51 {
52 return new DashboardSessionRepository();
53 }

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

+ Here is the caller graph for this function:

◆ news()

ILIAS\News\InternalRepoService::news ( )

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

45 : NewsRepository
46 {
47 return new NewsRepository($this->db, $this->data->factory());
48 }

Field Documentation

◆ $cache

NewsCache ILIAS\News\InternalRepoService::$cache
protected

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

Referenced by ILIAS\News\InternalRepoService\cache().


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