ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
YUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
23 class YUI 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  /* This library was missing after discussing dependencies for ILIAS 10
36  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
37  new Component\Resource\NodeModule("yui2/build/yahoo-dom-event/yahoo-dom-event.js");
38  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
39  new Component\Resource\NodeModule("yui2/build/connection/connection-min.js");
40  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
41  new Component\Resource\NodeModule("yui2/build/dragdrop/dragdrop-min.js");
42  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
43  new Component\Resource\NodeModule("yui2/build/element/element-min.js");
44  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
45  new Component\Resource\NodeModule("yui2/build/container/container-min.js");
46  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
47  new Component\Resource\NodeModule("yui2/build/utilities/utilities.js");
48  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
49  new Component\Resource\NodeModule("yui2/build/resize/resize-min.js");
50  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
51  new Component\Resource\NodeModule("yui2/build/container/container_core-min.js");
52  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
53  new Component\Resource\NodeModule("yui2/build/menu/menu-min.js");
54  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
55  new Component\Resource\NodeModule("yui2/build/button/button-min.js");
56  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
57  new Component\Resource\NodeModule("yui2/build/cookie/cookie.js");
58 
59  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
60  new Component\Resource\NodeModule("yui2/build/container/assets/skins/sam/container.css");
61  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
62  new Component\Resource\NodeModule("yui2/build/button/assets/skins/sam/button.css");
63  $contribute[Component\Resource\PublicAsset::class] = static fn() =>
64  new Component\Resource\NodeModule("yui2/build/menu/assets/skins/sam/menu.css");
65  */
66  }
67 }
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,)
Definition: YUI.php:25