Class HTMLPurifier_AttrDef_HTML_Bool
Validates a boolean attribute
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_HTML_Bool
Methods summary
public
|
|
public
|
#
validate( $string $string, $config $config, $context $context )
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition.
Parameters
- $string
$string String to be validated and cleaned.
- $config
$config Mandatory HTMLPurifier_Config object.
- $context
$context Mandatory HTMLPurifier_AttrContext object.
|
public
Created
|
#
make( $string $string )
Parameters
- $string
$string Name of attribute
Returns
Created AttrDef object corresponding to $string
Overrides
|
Properties summary
protected
|
$name
|
|
|
public
boolean
|
$minimized
|
true |
#
Tells us whether or not an HTML attribute is minimized. Has no meaning in
other contexts.
Tells us whether or not an HTML attribute is minimized. Has no meaning in
other contexts.
|