ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Bool.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_AttrDef_HTML_Bool
extends
HTMLPurifier_AttrDef
7
{
8
12
protected
$name
;
13
17
public
$minimized
=
true
;
18
22
public
function
__construct
(
$name
=
false
)
23
{
24
$this->name =
$name
;
25
}
26
33
public
function
validate
($string, $config, $context)
34
{
35
if
(empty($string)) {
36
return
false
;
37
}
38
return
$this->name
;
39
}
40
45
public
function
make
($string)
46
{
47
return
new
HTMLPurifier_AttrDef_HTML_Bool
($string);
48
}
49
}
50
51
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
AttrDef
HTML
Bool.php
Generated on Wed Apr 27 2016 21:01:40 for ILIAS by
1.8.1.2 (using
Doxyfile
)