ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
GlobalScreen.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
29 
30 class GlobalScreen implements Component
31 {
32  public function init(
33  array | \ArrayAccess &$define,
34  array | \ArrayAccess &$implement,
35  array | \ArrayAccess &$use,
36  array | \ArrayAccess &$contribute,
37  array | \ArrayAccess &$seek,
38  array | \ArrayAccess &$provide,
39  array | \ArrayAccess &$pull,
40  array | \ArrayAccess &$internal,
41  ): void {
42  $contribute[Agent::class] = static fn(): \ilGlobalScreenSetupAgent =>
43  new \ilGlobalScreenSetupAgent(
44  $pull[Factory::class]
45  );
46 
47  $contribute[PublicAsset::class] = fn(): Endpoint =>
48  new Endpoint($this, "gs_content.php");
49 
50  $contribute[PublicAsset::class] = fn(): Endpoint =>
51  new Endpoint($this, "callback_handler.php");
52 
53  $contribute[PublicAsset::class] = fn(): Endpoint =>
54  new Endpoint($this, "notify.php");
55 
56  $contribute[PublicAsset::class] = fn(): ComponentJS =>
57  new ComponentJS($this, "GS.js");
58  }
59 }
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...