ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 return new ExportCollector(
46 $this->data,
47 $this->repo->exportFile(),
48 $obj_id,
49 $type
50 );
51 }

◆ fileManager()

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

Definition at line 53 of file DomainService.php.

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

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: