ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
Link.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS
;
22
25
class
Link
implements
Component\Component
26
{
27
public
function
init
(
28
array | \
ArrayAccess
&$define,
29
array | \
ArrayAccess
&$implement,
30
array | \
ArrayAccess
&$use,
31
array | \
ArrayAccess
&$contribute,
32
array | \
ArrayAccess
&$seek,
33
array | \
ArrayAccess
&$provide,
34
array | \
ArrayAccess
&$pull,
35
array | \
ArrayAccess
&$internal,
36
): void {
37
$contribute[\ILIAS\Setup\Agent::class] =
static
fn() =>
38
new
COPage\IntLink\Setup\Agent
(
39
$pull[\
ILIAS
\
Refinery
\Factory::class]
40
);
41
42
$contribute[Component\Resource\PublicAsset::class] = fn() =>
43
new
Component\Resource\ComponentJS
($this,
"ilExtLink.js"
);
44
$contribute[Component\Resource\PublicAsset::class] =
static
fn() =>
45
new
Component\Resource\NodeModule
(
"linkifyjs/dist/linkify.min.js"
);
46
$contribute[Component\Resource\PublicAsset::class] =
static
fn() =>
47
new
Component\Resource\NodeModule
(
"linkify-element/dist/linkify-element.min.js"
);
48
}
49
}
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ILIAS\Setup\Agent
Definition:
class.Agent.php:26
Standard
Factory
ILIAS\Component\Resource\ComponentJS
This is a js file provided by some component.
Definition:
ComponentJS.php:26
ILIAS\Link\init
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:
Link.php:27
ILIAS\Component\Resource\NodeModule
Some distributable file created by npm.
Definition:
NodeModule.php:26
ArrayAccess
components
ILIAS
Link
Link.php
Generated on Wed Sep 3 2025 23:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)