ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.GUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog\Exercise
;
22
23
use
ILIAS\Blog\InternalDataService
;
24
use
ILIAS\Blog\InternalDomainService
;
25
use
ILIAS\Blog\InternalGUIService
;
26
30
class
GUIService
31
{
32
protected
InternalGUIService
$gui
;
33
protected
InternalDataService
$data_service
;
34
protected
InternalDomainService
$domain_service
;
35
36
public
function
__construct
(
37
InternalDataService
$data_service,
38
InternalDomainService
$domain_service,
39
InternalGUIService
$gui
40
) {
41
$this->data_service =
$data_service
;
42
$this->domain_service =
$domain_service
;
43
$this->gui =
$gui
;
44
}
45
46
public
function
ilBlogExerciseGUI
(
int
$a_node_id): \
ilBlogExerciseGUI
47
{
48
return
new \ilBlogExerciseGUI(
49
$a_node_id,
50
$this->domain_service->exercise($a_node_id),
51
$this->domain_service->lng(),
52
$this->domain_service->user(),
53
$this->gui
54
);
55
}
56
}
InternalDataService
ILIAS\Exercise\InternalGUIService
Exercise UI frontend presentation service class.
Definition:
class.InternalGUIService.php:38
InternalGUIService
ILIAS\Exercise\GUIService\$data_service
InternalDataService $data_service
Definition:
class.GUIService.php:33
InternalDomainService
ILIAS\Exercise\GUIService
Definition:
class.GUIService.php:30
ilBlogExerciseGUI
ilBlogExerciseGUI:
Definition:
class.ilBlogExerciseGUI.php:28
ILIAS\Exercise\GUIService\__construct
__construct(InternalDataService $data_service, InternalDomainService $domain_service, InternalGUIService $gui)
Definition:
class.GUIService.php:36
ILIAS\Blog\Exercise
Definition:
class.BlogExercise.php:21
ILIAS\Exercise\InternalDataService
Internal factory for data objects.
Definition:
class.InternalDataService.php:33
ILIAS\Exercise\GUIService\$gui
InternalGUIService $gui
Definition:
class.GUIService.php:32
ILIAS\Exercise\InternalDomainService
Definition:
class.InternalDomainService.php:34
ILIAS\Exercise\GUIService\$domain_service
InternalDomainService $domain_service
Definition:
class.GUIService.php:34
ILIAS\Exercise\GUIService\ilBlogExerciseGUI
ilBlogExerciseGUI(int $a_node_id)
Definition:
class.GUIService.php:46
components
ILIAS
Blog
Exercise
Service
class.GUIService.php
Generated on Wed Sep 3 2025 23:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)