ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.InternalDomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\MediaPool;
22 
27 
32 {
34 
37 
38  public function __construct(
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  /*
49  public function access(int $ref_id, int $user_id) : Access\AccessManager
50  {
51  return new Access\AccessManager(
52  $this,
53  $this->access,
54  $ref_id,
55  $user_id
56  );
57  }*/
58 
59  public function clipboard(): Clipboard\ClipboardManager
60  {
61  return new Clipboard\ClipboardManager(
62  $this->repo_service->clipboard()
63  );
64  }
65 
66  public function mediapool(int $obj_id): MediaPoolManager
67  {
68  return new MediaPoolManager(
69  $this,
70  $obj_id
71  );
72  }
73 
74  public function tree(int $mep_obj_id): MediaPoolTree
75  {
76  return new MediaPoolTree($mep_obj_id);
77  }
78 
79 }
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
initDomainServices(\ILIAS\DI\Container $DIC)
Manages items in repository clipboard.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
global $DIC
Definition: feed.php:28
Repository internal data service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Repository internal repo service.