ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 28 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

References ILIAS\Repository\initDomainServices().

38  {
39  $this->initDomainServices($DIC);
40  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ lmTree()

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

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

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

42  : \ilLMTree
43  {
44  return self::$instance["tree"][$lm_id] ??= new \ilLMTree($lm_id);
45  }
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 47 of file class.InternalDomainService.php.

References ILIAS\LearningModule\InternalDomainService\lmTree().

52  : SubObjectRetrieval {
53  return self::$instance["sub_obj_retrieval"][$lm_id][$type][$current_node] ??=
54  new SubObjectRetrieval(
55  $this->lmTree($lm_id),
56  $type,
57  $current_node,
58  $lang
59  );
60  }
$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 32 of file class.InternalDomainService.php.


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