ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilLSDI Class Reference
+ Inheritance diagram for ilLSDI:
+ Collaboration diagram for ilLSDI:

Public Member Functions

 init (ArrayAccess $dic)
 

Detailed Description

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

Member Function Documentation

◆ init()

ilLSDI::init ( ArrayAccess  $dic)

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

32 : void
33 {
34 $this["db.filesystem"] = function ($c): ilLearningSequenceFilesystem {
36 };
37
38 $this["db.settings"] = function ($c) use ($dic): ilLearningSequenceSettingsDB {
40 $dic["ilDB"],
41 $c["db.filesystem"]
42 );
43 };
44
45 $this["db.states"] = function ($c) use ($dic): ilLSStateDB {
46 return new ilLSStateDB($dic["ilDB"]);
47 };
48
49 $this["db.postconditions"] = function ($c) use ($dic): ilLSPostConditionDB {
50 return new ilLSPostConditionDB($dic["ilDB"]);
51 };
52
53 $this["db.boundaries"] = function ($c) use ($dic): LSOAdaptiveBoundaries {
54 return new LSOAdaptiveBoundaries($dic["ilDB"]);
55 };
56
57 $this["db.item_path"] = function ($c) use ($dic): LSOItemPath {
58 return new LSOItemPath($dic["ilDB"]);
59 };
60
61 $this["db.item_visits"] = function ($c) use ($dic): LSOItemVisits {
62 return new LSOItemVisits($dic["ilDB"]);
63 };
64
65 $this["conditions.types"] = function ($c) use ($dic): ConditionTypes {
66 return $dic[ConditionTypes::class];
67 };
68
69 $this["conditions.factory"] = function ($c) use ($dic): ConditionFactory {
70 return new ConditionFactory(
71 $c["conditions.types"],
72 $dic["ilDB"]
73 );
74 };
75
76 $this["conditions.handler"] = function ($c) use ($dic): ConditionHandler {
77 return new ConditionHandler(
78 $dic["ilDB"],
79 $dic["lng"],
80 $c["conditions.factory"]
81 );
82 };
83
84 $this["gs.current_context"] = function ($c) use ($dic): ScreenContext {
85 return $dic->globalScreen()->tool()->context()->current();
86 };
87 }
Stores start and end object boundaries of adaptive learning sequences.
Repository for the path a learner has actually walked through a learning sequence in adaptive mode.
Definition: LSOItemPath.php:34
Removes entries of the visit log of the learners (lso_item_visits).
Storage for ilLSPostConditions.
Persistence for View-States.
Persistence for Settings (like abstract, extro)
All condition types known to the system.

References Vendor\Package\$c, and XapiProxy\$dic.


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