ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
DomainService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Export\HTML;
22 
29 
31 {
32  protected static array $instance = [];
33 
34  public function __construct(
35  protected DataService $data,
36  protected RepoService $repo,
37  protected InternalDomainService $domain
38  ) {
39  }
40 
41  public function collector(
42  int $obj_id,
43  string $type = ""
44  ) : ExportCollector
45  {
46  return new ExportCollector(
47  $this->data,
48  $this->repo->exportFile(),
49  $obj_id,
50  $type
51  );
52  }
53 
54  public function fileManager(
56  {
57  return self::$instance["file_manager"] ??= new ExportFileManager(
58  $this->data,
59  $this->repo->exportFile()
60  );
61  }
62 
63 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
collector(int $obj_id, string $type="")
__construct(protected DataService $data, protected RepoService $repo, protected InternalDomainService $domain)