42 : void {
43 $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
44 new \ILIAS\COPage\Setup\Agent(
46 );
47
48
49
50
51 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
52 public function getSource(): string
53 {
54 return "components/ILIAS/COPage/PC/InteractiveImage/js";
55 }
56 public function getTarget(): string
57 {
59 return "components/ILIAS/COPage/" . $asset_version . "/PC/InteractiveImage/js";
60 }
61 };
62 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
63 public function getSource(): string
64 {
65 return "components/ILIAS/COPage/PC/Tabs/js";
66 }
67 public function getTarget(): string
68 {
69 return "components/ILIAS/COPage/PC/Tabs/js";
70 }
71 };
72 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
73 public function getSource(): string
74 {
75 return "components/ILIAS/COPage/Editor/js";
76 }
77 public function getTarget(): string
78 {
80 return "components/ILIAS/COPage/" . $asset_version . "/Editor/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/js";
87 }
88 public function getTarget(): string
89 {
90 return "components/ILIAS/COPage/js";
91 }
92 };
93 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
94 public function getSource(): string
95 {
96 return "components/ILIAS/COPage/css";
97 }
98 public function getTarget(): string
99 {
100 return "components/ILIAS/COPage/css";
101 }
102 };
103 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
104 public function getSource(): string
105 {
106 return "vendor/ilias/Style/basic_style";
107 }
108 public function getTarget(): string
109 {
110 return "components/ILIAS/COPage/basic_style";
111 }
112 };
113 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
114 public function getSource(): string
115 {
116 return "components/ILIAS/COPage/IntLink/resources/ilIntLink.js";
117 }
118 public function getTarget(): string
119 {
120 return "assets/js/ilIntLink.js";
121 }
122 };
123
124
125 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\PublicAsset {
126 public function getSource(): string
127 {
128 return "components/ILIAS/COPage/css/content_base.css";
129 }
130 public function getTarget(): string
131 {
132 return "assets/content_style/style.css";
133 }
134 };
135
136 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
137 $this,
138 'adve'
139 );
140 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
141 $this,
142 'link'
143 );
144 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
145 $this,
146 'copg'
147 );
148 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
149 $this,
150 'content'
151 );
152 }
static getVersionFromSource()
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.