ILIAS  release_8 Revision v8.24
class.ilLSDI.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21use Pimple\Container;
23
24class ilLSDI extends Container
25{
26 public function init(ArrayAccess $dic): void
27 {
28 $this["db.filesystem"] = function ($c): ilLearningSequenceFilesystem {
30 };
31
32 $this["db.settings"] = function ($c) use ($dic): ilLearningSequenceSettingsDB {
34 $dic["ilDB"],
35 $c["db.filesystem"]
36 );
37 };
38
39 $this["db.activation"] = function ($c) use ($dic): ilLearningSequenceActivationDB {
40 return new ilLearningSequenceActivationDB($dic["ilDB"]);
41 };
42
43 $this["db.states"] = function ($c) use ($dic): ilLSStateDB {
44 return new ilLSStateDB($dic["ilDB"]);
45 };
46
47 $this["db.postconditions"] = function ($c) use ($dic): ilLSPostConditionDB {
48 return new ilLSPostConditionDB($dic["ilDB"]);
49 };
50
51 $this["gs.current_context"] = function ($c) use ($dic): ScreenContext {
52 return $dic->globalScreen()->tool()->context()->current();
53 };
54 }
55}
init(ArrayAccess $dic)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$c
Definition: cli.php:38
$dic
Definition: result.php:32