Class HTMLPurifier_AttrDef_Text
Validates arbitrary text according to the HTML spec.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_Text
Methods summary
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.
|