ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TestQuestionPool.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
23 class TestQuestionPool implements Component\Component
24 {
25  public function init(
26  array | \ArrayAccess &$define,
27  array | \ArrayAccess &$implement,
28  array | \ArrayAccess &$use,
29  array | \ArrayAccess &$contribute,
30  array | \ArrayAccess &$seek,
31  array | \ArrayAccess &$provide,
32  array | \ArrayAccess &$pull,
33  array | \ArrayAccess &$internal,
34  ): void {
35  $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
36  new \ilTestQuestionPoolSetupAgent(
37  $pull[\ILIAS\Refinery\Factory::class]
38  );
39 
40  $contribute[Component\Resource\PublicAsset::class] = fn() =>
41  new Component\Resource\ComponentJS($this, 'js/dist/answerwizardinput.js');
42  $contribute[Component\Resource\PublicAsset::class] = fn() =>
43  new Component\Resource\ComponentJS($this, 'js/dist/answerwizard.js');
44  $contribute[Component\Resource\PublicAsset::class] = fn() =>
45  new Component\Resource\ComponentJS($this, 'js/dist/essaykeywordwizard.js');
46  $contribute[Component\Resource\PublicAsset::class] = fn() =>
47  new Component\Resource\ComponentJS($this, 'js/dist/multiplechoicewizard.js');
48  $contribute[Component\Resource\PublicAsset::class] = fn() =>
49  new Component\Resource\ComponentJS($this, 'js/dist/singlechoicewizard.js');
50  $contribute[Component\Resource\PublicAsset::class] = fn() =>
51  new Component\Resource\ComponentJS($this, 'js/dist/imagemap.js');
52  $contribute[Component\Resource\PublicAsset::class] = fn() =>
53  new Component\Resource\ComponentJS($this, 'js/dist/kprimchoicewizard.js');
54  $contribute[Component\Resource\PublicAsset::class] = fn() =>
55  new Component\Resource\ComponentJS($this, 'js/dist/ilAssKprimChoice.js');
56  $contribute[Component\Resource\PublicAsset::class] = fn() =>
57  new Component\Resource\ComponentJS($this, 'js/dist/orderinghorizontal.js');
58  $contribute[Component\Resource\PublicAsset::class] = fn() =>
59  new Component\Resource\ComponentJS($this, 'js/dist/orderingvertical.js');
60  $contribute[Component\Resource\PublicAsset::class] = fn() =>
61  new Component\Resource\ComponentJS($this, 'js/dist/matching.js');
62  $contribute[Component\Resource\PublicAsset::class] = fn() =>
63  new Component\Resource\ComponentJS($this, 'js/dist/matchingpairwizard.js');
64  $contribute[Component\Resource\PublicAsset::class] = fn() =>
65  new Component\Resource\ComponentJS($this, 'js/dist/identifiedwizardinput.js');
66  $contribute[Component\Resource\PublicAsset::class] = fn() =>
67  new Component\Resource\ComponentJS($this, 'js/dist/ilAssMultipleChoice.js');
68  $contribute[Component\Resource\PublicAsset::class] = fn() =>
69  new Component\Resource\ComponentJS($this, 'js/dist/testQuestionPoolTagInput.js');
70  $contribute[Component\Resource\PublicAsset::class] = fn() =>
71  new Component\Resource\ComponentJS($this, 'js/dist/errortext.js');
72  $contribute[Component\Resource\PublicAsset::class] = fn() =>
73  new Component\Resource\ComponentJS($this, 'js/dist/clozeQuestionGapBuilder.js');
74  $contribute[Component\Resource\PublicAsset::class] = fn() =>
75  new Component\Resource\ComponentJS($this, 'js/dist/longMenuQuestionGapBuilder.js');
76  $contribute[Component\Resource\PublicAsset::class] = fn() =>
77  new Component\Resource\ComponentJS($this, 'js/dist/longMenuQuestion.js');
78  $contribute[Component\Resource\PublicAsset::class] = fn() =>
79  new Component\Resource\ComponentJS($this, 'js/dist/longMenuQuestionPlayer.js');
80  $contribute[Component\Resource\PublicAsset::class] = fn() =>
81  new Component\Resource\ComponentJS($this, 'js/dist/matchinginput.js');
82  $contribute[Component\Resource\PublicAsset::class] = fn() =>
83  new Component\Resource\ComponentJS($this, 'js/dist/pure_rendering.js');
84  $contribute[Component\Resource\PublicAsset::class] = fn() =>
85  new Component\Resource\ComponentJS($this, 'js/dist/question_handling.js');
86  $contribute[Component\Resource\PublicAsset::class] = fn() =>
87  new Component\Resource\ComponentJS($this, 'js/dist/bootstrap-tagsinput_2015_25_03.js');
88  $contribute[Component\Resource\PublicAsset::class] = fn() =>
89  new Component\Resource\ComponentJS($this, 'js/dist/typeahead_0.11.1.js');
90  $contribute[Component\Resource\PublicAsset::class] = fn() =>
91  new Component\Resource\ComponentCSS($this, 'css/lac_legend.css');
92  $contribute[Component\Resource\PublicAsset::class] = fn() =>
93  new Component\Resource\ComponentCSS($this, 'css/bootstrap-tagsinput_2015_25_03.css');
94  }
95 }
Interface Observer Contains several chained tasks and infos about them.
This is a js file provided by some component.
Definition: ComponentJS.php:26
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
This is a css file provided by some component.