ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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.

References ILIAS\Repository\initDomainServices().

36  {
37  $this->initDomainServices($DIC);
38  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26
+ 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.

Referenced by ILIAS\LearningModule\InternalDomainService\subObjectRetrieval().

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...
+ Here is the caller graph for this function:

◆ subObjectRetrieval()

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

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

References ILIAS\LearningModule\InternalDomainService\lmTree().

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
+ Here is the call graph for this function:

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: