34 : void {
35 $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
36 new \ILIAS\COPage\Setup\Agent(
38 );
39
40
41
42
43 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
44 public function getSource(): string
45 {
46 return "components/ILIAS/COPage/PC/InteractiveImage/js";
47 }
48 public function getTarget(): string
49 {
50 return "components/ILIAS/COPage/PC/InteractiveImage/js";
51 }
52 };
53 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
54 public function getSource(): string
55 {
56 return "components/ILIAS/COPage/PC/Tabs/js";
57 }
58 public function getTarget(): string
59 {
60 return "components/ILIAS/COPage/PC/Tabs/js";
61 }
62 };
63 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
64 public function getSource(): string
65 {
66 return "components/ILIAS/COPage/Editor/js";
67 }
68 public function getTarget(): string
69 {
70 return "components/ILIAS/COPage/Editor/js";
71 }
72 };
73 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
74 public function getSource(): string
75 {
76 return "components/ILIAS/COPage/js";
77 }
78 public function getTarget(): string
79 {
80 return "components/ILIAS/COPage/js";
81 }
82 };
83 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
84 public function getSource(): string
85 {
86 return "components/ILIAS/COPage/css";
87 }
88 public function getTarget(): string
89 {
90 return "components/ILIAS/COPage/css";
91 }
92 };
93 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
94 public function getSource(): string
95 {
96 return "vendor/ilias/Style/basic_style";
97 }
98 public function getTarget(): string
99 {
100 return "components/ILIAS/COPage/basic_style";
101 }
102 };
103 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
104 public function getSource(): string
105 {
106 return "components/ILIAS/COPage/IntLink/resources/ilIntLink.js";
107 }
108 public function getTarget(): string
109 {
110 return "assets/js/ilIntLink.js";
111 }
112 };
113
114 }
An public asset is a file or folder that should be served via the web.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.