ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Table.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
24
25class Table implements Component\Component
26{
27 public function init(
28 array | \ArrayAccess &$define,
29 array | \ArrayAccess &$implement,
30 array | \ArrayAccess &$use,
31 array | \ArrayAccess &$contribute,
32 array | \ArrayAccess &$seek,
33 array | \ArrayAccess &$provide,
34 array | \ArrayAccess &$pull,
35 array | \ArrayAccess &$internal,
36 ): void {
37 $contribute[Component\Resource\PublicAsset::class] = fn() =>
38 new Component\Resource\ComponentJS($this, "ServiceTable.js");
39
40 $contribute[\ILIAS\Setup\Agent::class] = static fn() => new LegacyTableSetupAgent();
41 }
42}
This is a js file provided by some component.
Definition: ComponentJS.php:27
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: Table.php:27
An public asset is a file or folder that should be served via the web.
Definition: PublicAsset.php:27
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.