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
Bool.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_AttrDef_HTML_Bool
extends
HTMLPurifier_AttrDef
7
{
8
9
protected
$name
;
10
public
$minimized
=
true
;
11
12
public
function
__construct
(
$name
=
false
) {$this->name =
$name
;}
13
14
public
function
validate
($string, $config, $context) {
15
if
(empty($string))
return
false
;
16
return
$this->name
;
17
}
18
22
public
function
make
($string) {
23
return
new
HTMLPurifier_AttrDef_HTML_Bool
($string);
24
}
25
26
}
27
28
// vim: et sw=4 sts=4
HTMLPurifier_AttrDef
Base class for all validating attribute definitions.
Definition:
AttrDef.php:13
HTMLPurifier_AttrDef_HTML_Bool\$name
$name
Definition:
Bool.php:9
HTMLPurifier_AttrDef_HTML_Bool\__construct
__construct($name=false)
Definition:
Bool.php:12
HTMLPurifier_AttrDef_HTML_Bool
Validates a boolean attribute.
Definition:
Bool.php:6
HTMLPurifier_AttrDef_HTML_Bool\$minimized
$minimized
Definition:
Bool.php:10
HTMLPurifier_AttrDef_HTML_Bool\make
make($string)
Definition:
Bool.php:22
HTMLPurifier_AttrDef_HTML_Bool\validate
validate($string, $config, $context)
Definition:
Bool.php:14
Services
Html
HtmlPurifier
library
HTMLPurifier
AttrDef
HTML
Bool.php
Generated on Mon Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)