ILIAS  release_8 Revision v8.23
class.InternalDomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\MediaObjects;
22 
28 
33 {
35 
38 
39  public function __construct(
41  InternalRepoService $repo_service,
42  InternalDataService $data_service
43  ) {
44  $this->repo_service = $repo_service;
45  $this->data_service = $data_service;
46  $this->initDomainServices($DIC);
47  }
48 
49  /*
50  public function access(int $ref_id, int $user_id) : Access\AccessManager
51  {
52  return new Access\AccessManager(
53  $this,
54  $this->access,
55  $ref_id,
56  $user_id
57  );
58  }*/
59 
60  public function imageMap(): ImageMapManager
61  {
62  return new ImageMapManager(
63  $this->repo_service->imageMap()
64  );
65  }
66 
67  public function mediaType(): MediaTypeManager
68  {
69  return new MediaTypeManager();
70  }
71 
72  public function tracking(): TrackingManager
73  {
74  return new TrackingManager(
75  $this
76  );
77  }
78 
79 }
Manages items in repository clipboard.
initDomainServices(\ILIAS\DI\Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)