19 declare(strict_types=1);
35 $contribute[Component\Resource\PublicAsset::class] = fn() =>
38 $contribute[Component\Resource\PublicAsset::class] = fn() =>
41 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
42 public function getSource():
string 44 return "components/ILIAS/Scorm2004/scripts";
46 public function getTarget():
string 48 return "components/ILIAS/Scorm2004/scripts";
52 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
53 public function getSource():
string 55 return "components/ILIAS/Scorm2004/templates/default/images";
57 public function getTarget():
string 59 return "components/ILIAS/Scorm2004/templates/default/images";
63 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
64 public function getSource():
string 66 return "components/ILIAS/Scorm2004/templates/default/images";
68 public function getTarget():
string 70 return "components/ILIAS/UI/resources/images/scorm2004";
74 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
75 public function getSource():
string 77 return "components/ILIAS/Scorm2004/templates/default/player.css";
79 public function getTarget():
string 81 return "components/ILIAS/Scorm2004/templates/default/player.css";
Interface Observer Contains several chained tasks and infos about them.
An endpoint is a PHP file that produces output via HTTP.
An public asset is a file or folder that should be served via the web.
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,)