ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Export\HTML\DomainService Class Reference
+ Collaboration diagram for ILIAS\Export\HTML\DomainService:

Public Member Functions

 __construct (protected DataService $data, protected RepoService $repo, protected InternalDomainService $domain)
 
 collector (int $obj_id, string $type="")
 
 fileManager ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Definition at line 30 of file DomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Export\HTML\DomainService::__construct ( protected DataService  $data,
protected RepoService  $repo,
protected InternalDomainService  $domain 
)

Definition at line 34 of file DomainService.php.

38  {
39  }

Member Function Documentation

◆ collector()

ILIAS\Export\HTML\DomainService::collector ( int  $obj_id,
string  $type = "" 
)

Definition at line 41 of file DomainService.php.

44  : ExportCollector
45  {
46  return new ExportCollector(
47  $this->data,
48  $this->repo->exportFile(),
49  $obj_id,
50  $type
51  );
52  }

◆ fileManager()

ILIAS\Export\HTML\DomainService::fileManager ( )

Definition at line 54 of file DomainService.php.

55  : ExportFileManager
56  {
57  return self::$instance["file_manager"] ??= new ExportFileManager(
58  $this->data,
59  $this->repo->exportFile()
60  );
61  }

Field Documentation

◆ $instance

array ILIAS\Export\HTML\DomainService::$instance = []
staticprotected

Definition at line 32 of file DomainService.php.


The documentation for this class was generated from the following file: