19declare(strict_types=1);
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,
41 $contribute[Component\Resource\PublicAsset::class] = fn() =>
44 $contribute[Component\Resource\PublicAsset::class] = fn() =>
47 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
48 public function getSource(): string
50 return "components/ILIAS/Scorm2004/scripts";
52 public function getTarget(): string
54 return "components/ILIAS/Scorm2004/scripts";
58 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
59 public function getSource(): string
61 return "components/ILIAS/Scorm2004/templates/default/images";
63 public function getTarget(): string
65 return "components/ILIAS/Scorm2004/templates/default/images";
69 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
70 public function getSource(): string
72 return "components/ILIAS/Scorm2004/templates/default/images";
74 public function getTarget(): string
76 return "components/ILIAS/UI/resources/images/scorm2004";
80 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
81 public function getSource(): string
83 return "components/ILIAS/Scorm2004/templates/default/player.css";
85 public function getTarget(): string
87 return "components/ILIAS/Scorm2004/templates/default/player.css";
An endpoint is a PHP file that produces output via HTTP.
Builds a Color from either hex- or rgb values.
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 public asset is a file or folder that should be served via the web.
A component is the most general form of an entity in the UI.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.