ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
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
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
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
PropertyListIterator.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_PropertyListIterator
extends
FilterIterator
7
{
8
12
protected
$l
;
16
protected
$filter
;
17
22
public
function
__construct
(
Iterator
$iterator,
$filter
= null)
23
{
24
parent::__construct($iterator);
25
$this->l = strlen(
$filter
);
26
$this->filter =
$filter
;
27
}
28
32
public
function
accept
()
33
{
34
$key = $this->getInnerIterator()->key();
35
if
(strncmp($key, $this->filter, $this->l) !== 0) {
36
return
false
;
37
}
38
return
true
;
39
}
40
}
41
42
// vim: et sw=4 sts=4
HTMLPurifier_PropertyListIterator\$l
$l
int
Definition:
PropertyListIterator.php:12
HTMLPurifier_PropertyListIterator
Property list iterator.
Definition:
PropertyListIterator.php:6
FilterIterator
HTMLPurifier_PropertyListIterator\accept
accept()
Definition:
PropertyListIterator.php:32
HTMLPurifier_PropertyListIterator\__construct
__construct(Iterator $iterator, $filter=null)
Definition:
PropertyListIterator.php:22
Iterator
HTMLPurifier_PropertyListIterator\$filter
$filter
string
Definition:
PropertyListIterator.php:16
Services
Html
HtmlPurifier
library
HTMLPurifier
PropertyListIterator.php
Generated on Mon Apr 14 2025 19:00:45 for ILIAS by
1.8.13 (using
Doxyfile
)