ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.DomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Container\Content;
22 
26 
31 {
35 
38 
39  public function __construct(
40  InternalRepoService $repo_service,
41  InternalDataService $data_service,
42  InternalDomainService $domain_service
43  ) {
44  $this->repo_service = $repo_service;
45  $this->data_service = $data_service;
46  $this->domain_service = $domain_service;
47  $this->item_repo = $this->repo_service->content()->item();
48  $this->view_repo = $this->repo_service->content()->view();
49  }
50 
52  {
53  return new ItemManager(
54  $container,
55  $this->item_repo
56  );
57  }
58 
59  public function view(): ViewManager
60  {
61  return new ViewManager(
62  $this->view_repo
63  );
64  }
65 
66  /*
67  public function access(int $ref_id, int $user_id) : Access\AccessManager
68  {
69  return new Access\AccessManager(
70  $this,
71  $this->access,
72  $ref_id,
73  $user_id
74  );
75  }*/
76 }
Repository internal data service.
$container
Definition: wac.php:14
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(InternalRepoService $repo_service, InternalDataService $data_service, InternalDomainService $domain_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Repository internal repo service.