ILIAS
release_4-4 Revision
◀ 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
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
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
9
protected
$l
;
10
protected
$filter
;
11
16
public
function
__construct
(
Iterator
$iterator,
$filter
= null) {
17
parent::__construct($iterator);
18
$this->l = strlen(
$filter
);
19
$this->filter =
$filter
;
20
}
21
22
public
function
accept
() {
23
$key = $this->getInnerIterator()->key();
24
if
( strncmp($key, $this->filter, $this->l) !== 0 ) {
25
return
false
;
26
}
27
return
true
;
28
}
29
30
}
31
32
// vim: et sw=4 sts=4
HTMLPurifier_PropertyListIterator\$l
$l
Definition:
PropertyListIterator.php:9
HTMLPurifier_PropertyListIterator
Property list iterator.
Definition:
PropertyListIterator.php:6
FilterIterator
HTMLPurifier_PropertyListIterator\accept
accept()
Definition:
PropertyListIterator.php:22
HTMLPurifier_PropertyListIterator\__construct
__construct(Iterator $iterator, $filter=null)
Definition:
PropertyListIterator.php:16
Iterator
HTMLPurifier_PropertyListIterator\$filter
$filter
Definition:
PropertyListIterator.php:10
Services
Html
HtmlPurifier
library
HTMLPurifier
PropertyListIterator.php
Generated on Mon Dec 21 2020 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)