ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.InternalDomainService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\News
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICDomainServices
;
25
use
ILIAS\News\Dashboard\DashboardNewsManager
;
26
use
ILIAS\News\Timeline\TimelineManager
;
27
31
class
InternalDomainService
32
{
33
use
GlobalDICDomainServices
;
34
35
protected
InternalRepoService
$repo_service
;
36
protected
InternalDataService
$data_service
;
37
38
public
function
__construct
(
39
Container
$DIC
,
40
InternalRepoService
$repo_service,
41
InternalDataService
$data_service
42
) {
43
$this->repo_service = $repo_service;
44
$this->data_service = $data_service;
45
$this->
initDomainServices
($DIC);
46
}
47
48
public
function
dashboard
(): DashboardNewsManager
49
{
50
return
new
DashboardNewsManager(
51
$this->data_service,
52
$this->repo_service,
53
$this
54
);
55
}
56
57
public
function
timeline
(): TimelineManager
58
{
59
return
new
TimelineManager(
60
$this->data_service,
61
$this->repo_service,
62
$this
63
);
64
}
65
}
DashboardNewsManager
ILIAS\News\InternalDomainService\$data_service
InternalDataService $data_service
Definition:
class.InternalDomainService.php:36
ILIAS\News\InternalDomainService\dashboard
dashboard()
Definition:
class.InternalDomainService.php:48
ILIAS\Repository\initDomainServices
initDomainServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICDomainServices.php:41
ILIAS\News\InternalRepoService
Notes internal repo service.
Definition:
class.InternalRepoService.php:29
Container
ILIAS\News\InternalDomainService\timeline
timeline()
Definition:
class.InternalDomainService.php:57
ILIAS\News\InternalDomainService\__construct
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Definition:
class.InternalDomainService.php:38
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\News\InternalDomainService\$repo_service
InternalRepoService $repo_service
Definition:
class.InternalDomainService.php:35
ILIAS\News\InternalDomainService
Definition:
class.InternalDomainService.php:31
ILIAS\News
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:38
TimelineManager
ILIAS\Container
Definition:
Container.php:23
GlobalDICDomainServices
ILIAS\News\InternalDataService
Repository internal data service.
Definition:
class.InternalDataService.php:27
components
ILIAS
News
Service
class.InternalDomainService.php
Generated on Sun Aug 31 2025 23:02:10 for ILIAS by
1.8.13 (using
Doxyfile
)