HTMLPurifier 4.4.0
|
Validates a boolean attribute. More...
Public Member Functions | |
__construct ($name=false) | |
validate ($string, $config, $context) | |
Validates and cleans passed string according to a definition. | |
make ($string) | |
__construct ($name=false) | |
validate ($string, $config, $context) | |
Validates and cleans passed string according to a definition. | |
make ($string) | |
Public Attributes | |
$minimized = true | |
Tells us whether or not an HTML attribute is minimized. | |
Protected Attributes | |
$name |
HTMLPurifier_AttrDef_HTML_Bool::__construct | ( | $ | name = false | ) |
HTMLPurifier_AttrDef_HTML_Bool::__construct | ( | $ | name = false | ) |
Definition at line 9953 of file HTMLPurifier.standalone.php.
References $name.
HTMLPurifier_AttrDef_HTML_Bool::make | ( | $ | string | ) |
$string | Name of attribute |
Reimplemented from HTMLPurifier_AttrDef.
HTMLPurifier_AttrDef_HTML_Bool::make | ( | $ | string | ) |
$string | Name of attribute |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 9963 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_HTML_Bool::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 9955 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_HTML_Bool::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
HTMLPurifier_AttrDef_HTML_Bool::$minimized = true |
Tells us whether or not an HTML attribute is minimized.
Has no meaning in other contexts.
Reimplemented from HTMLPurifier_AttrDef.
HTMLPurifier_AttrDef_HTML_Bool::$name [protected] |
Definition at line 9 of file Bool.php.
Referenced by __construct().