ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\LearningModule;
22 
25 
30 {
32 
35 
36  public function __construct(
38  InternalDataService $data_service,
39  InternalDomainService $domain_service
40  ) {
41  $this->data_service = $data_service;
42  $this->domain_service = $domain_service;
43  $this->initGUIServices($DIC);
44  }
45 
46  public function presentation(): Presentation\GUIService
47  {
48  return new Presentation\GUIService(
49  $this->domain_service,
50  $this
51  );
52  }
53 
54  public function editing(): Editing\GUIService
55  {
56  return new Editing\GUIService(
57  $this->domain_service,
58  $this
59  );
60  }
61 }
initGUIServices(\ILIAS\DI\Container $DIC)
Learning modules internal data service.
global $DIC
Definition: shib_login.php:26
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)