ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
GlobalScreen.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
23 class GlobalScreen 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 \ilGlobalScreenSetupAgent(
37  $pull[\ILIAS\Refinery\Factory::class]
38  );
39 
40  $contribute[Component\Resource\PublicAsset::class] = fn() =>
41  new Component\Resource\Endpoint($this, "gs_content.php");
42 
43  $contribute[Component\Resource\PublicAsset::class] = fn() =>
44  new Component\Resource\Endpoint($this, "callback_handler.php");
45 
46  $contribute[Component\Resource\PublicAsset::class] = fn() =>
47  new Component\Resource\Endpoint($this, "notify.php");
48 
49  $contribute[Component\Resource\PublicAsset::class] = fn() =>
50  new Component\Resource\ComponentJS($this, "GS.js");
51  }
52 }
Interface Observer Contains several chained tasks and infos about them.
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,)
An endpoint is a PHP file that produces output via HTTP.
Definition: Endpoint.php:28
This is a js file provided by some component.
Definition: ComponentJS.php:26
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...