ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LearningModule\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\LearningModule\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, protected InternalRepoService $repo, protected InternalDataService $data)
 
 lmTree (int $lm_id)
 
 subObjectRetrieval (int $lm_id, string $type, int $current_node, string $lang)
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Definition at line 26 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LearningModule\InternalDomainService::__construct ( Container  $DIC,
protected InternalRepoService  $repo,
protected InternalDataService  $data 
)

Definition at line 32 of file class.InternalDomainService.php.

36 {
37 $this->initDomainServices($DIC);
38 }
initDomainServices(\ILIAS\DI\Container $DIC)

References ILIAS\Repository\initDomainServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ lmTree()

ILIAS\LearningModule\InternalDomainService::lmTree ( int  $lm_id)

Definition at line 40 of file class.InternalDomainService.php.

40 : \ilLMTree
41 {
42 return self::$instance["tree"][$lm_id] ??= new \ilLMTree($lm_id);
43 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ subObjectRetrieval()

ILIAS\LearningModule\InternalDomainService::subObjectRetrieval ( int  $lm_id,
string  $type,
int  $current_node,
string  $lang 
)

Definition at line 45 of file class.InternalDomainService.php.

50 : Editing\SubObjectRetrieval {
51 return self::$instance["sub_obj_retrieval"][$lm_id][$type][$current_node] ??=
52 new Editing\SubObjectRetrieval(
53 $this->lmTree($lm_id),
54 $type,
55 $current_node,
56 $lang
57 );
58 }
$lang
Definition: xapiexit.php:25

Field Documentation

◆ $instance

array ILIAS\LearningModule\InternalDomainService::$instance = []
staticprotected

Definition at line 30 of file class.InternalDomainService.php.


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