XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
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
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier
AttrDef
HTML
Bool.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1