ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
return
$this->name
;
36
}
37
42
public
function
make
($string)
43
{
44
return
new
HTMLPurifier_AttrDef_HTML_Bool
($string);
45
}
46
}
47
48
// vim: et sw=4 sts=4
$config
$config
Definition:
flush-definition-cache.php:23
HTMLPurifier_AttrDef
Base class for all validating attribute definitions.
Definition:
AttrDef.php:13
HTMLPurifier_AttrDef_HTML_Bool\$name
$name
bool
Definition:
Bool.php:12
HTMLPurifier_AttrDef_HTML_Bool\__construct
__construct($name=false)
Definition:
Bool.php:22
HTMLPurifier_AttrDef_HTML_Bool
Validates a boolean attribute.
Definition:
Bool.php:6
HTMLPurifier_AttrDef_HTML_Bool\$minimized
$minimized
bool
Definition:
Bool.php:17
HTMLPurifier_AttrDef_HTML_Bool\make
make($string)
Definition:
Bool.php:42
HTMLPurifier_AttrDef_HTML_Bool\validate
validate($string, $config, $context)
Definition:
Bool.php:33
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
AttrDef
HTML
Bool.php
Generated on Sat Jan 18 2025 19:01:01 for ILIAS by
1.8.13 (using
Doxyfile
)