ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
class.ilLinkifyUtil.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
10
class
ilLinkifyUtil
11
{
12
private
static
$ver
=
"1_1"
;
13
private
static
$min
=
".min"
;
14
20
public
static
function
initLinkify
($a_tpl = null)
21
{
22
global
$DIC
;
23
24
$tpl
= $DIC[
"tpl"
];
25
26
if
($a_tpl == null) {
27
$a_tpl =
$tpl
;
28
}
29
30
foreach
(self::getLocalJsPaths() as $p) {
31
$a_tpl->addJavaScript($p);
32
}
33
}
34
38
public
static
function
getLocalJsPaths
()
39
{
40
return
array(
41
"./libs/bower/bower_components/linkifyjs/linkify.min.js"
,
42
"./libs/bower/bower_components/linkifyjs/linkify-jquery.min.js"
,
43
"./Services/Link/js/ilExtLink.js"
44
);
45
}
46
}
$DIC
global $DIC
Definition:
saml.php:7
$tpl
$tpl
Definition:
ilias.php:10
ilLinkifyUtil\getLocalJsPaths
static getLocalJsPaths()
Get paths of necessary js files.
Definition:
class.ilLinkifyUtil.php:38
ilLinkifyUtil
Linkify utility class.
Definition:
class.ilLinkifyUtil.php:10
php
ilLinkifyUtil\$min
static $min
Definition:
class.ilLinkifyUtil.php:13
ilLinkifyUtil\$ver
static $ver
Definition:
class.ilLinkifyUtil.php:12
ilLinkifyUtil\initLinkify
static initLinkify($a_tpl=null)
Init Linkify.
Definition:
class.ilLinkifyUtil.php:20
Services
Link
classes
class.ilLinkifyUtil.php
Generated on Thu Apr 17 2025 19:01:57 for ILIAS by
1.8.13 (using
Doxyfile
)