ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
e
f
g
h
i
j
l
m
n
p
r
s
t
u
w
+
Functions
_
a
b
c
e
f
g
h
i
m
n
p
r
s
t
u
w
Variables
+
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
j
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
HTMLPurifierExtras.php
Go to the documentation of this file.
1
<?php
2
7
class
HTMLPurifierExtras
8
{
9
10
public
static
function
autoload
($class)
11
{
12
$path
=
HTMLPurifierExtras::getPath
($class);
13
if
(!
$path
)
return
false
;
14
require
$path
;
15
return
true
;
16
}
17
18
public
static
function
getPath
($class)
19
{
20
if
(
21
strncmp(
'FSTools'
, $class, 7) !== 0 &&
22
strncmp(
'ConfigDoc'
, $class, 9) !== 0
23
)
return
false
;
24
// Custom implementations can go here
25
// Standard implementation:
26
return
str_replace(
'_'
,
'/'
, $class) .
'.php'
;
27
}
28
29
}
30
31
// vim: et sw=4 sts=4
HTMLPurifierExtras\autoload
static autoload($class)
Definition:
HTMLPurifierExtras.php:10
HTMLPurifierExtras
Meta-class for HTML Purifier's extra class hierarchies, similar to HTMLPurifier_Bootstrap.
Definition:
HTMLPurifierExtras.php:7
HTMLPurifierExtras\getPath
static getPath($class)
Definition:
HTMLPurifierExtras.php:18
$path
$path
Definition:
serviceValidate.php:27
libs
composer
vendor
ezyang
htmlpurifier
extras
HTMLPurifierExtras.php
Generated on Sat Apr 19 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)