ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 
26 
31 {
35 
36  public function __construct(
37  InternalDataService $data_service,
38  InternalDomainService $domain_service,
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(),
54  );
55  }
56 }
Exercise UI frontend presentation service class.
InternalDataService $data_service
__construct(InternalDataService $data_service, InternalDomainService $domain_service, InternalGUIService $gui)
Internal factory for data objects.
InternalDomainService $domain_service
ilBlogExerciseGUI(int $a_node_id)