ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Test.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
23class Test 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 \ILIAS\Test\Setup\TestSetupAgent(
37 $pull[\ILIAS\Refinery\Factory::class]
38 );
39 $contribute[Component\Resource\PublicAsset::class] = fn() =>
40 new Component\Resource\ComponentJS($this, "ilTestPlayerQuestionEditControl.js");
41 $contribute[Component\Resource\PublicAsset::class] = fn() =>
42 new Component\Resource\ComponentJS($this, "settings_confirmation.js");
43 $contribute[Component\Resource\PublicAsset::class] = fn() =>
44 new Component\Resource\ComponentCSS($this, "test_kiosk_header.css");
45 $contribute[Component\Resource\PublicAsset::class] = fn() =>
46 new Component\Resource\ComponentCSS($this, "test_pdf.css");
47 $contribute[Component\Resource\PublicAsset::class] = fn() =>
48 new Component\Resource\ComponentCSS($this, "test_print.css");
49 $contribute[Component\Resource\PublicAsset::class] = fn() =>
50 new Component\Resource\ComponentCSS($this, "test_print_hide_content.css");
51 }
52}
This is a css file provided by some component.
This is a js file provided by some component.
Definition: ComponentJS.php:27
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
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,)
Definition: Test.php:25
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.