HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_Text Class Reference

Validates arbitrary text according to the HTML spec. More...

Inheritance diagram for HTMLPurifier_AttrDef_Text:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.

Detailed Description

Validates arbitrary text according to the HTML spec.

Definition at line 6 of file Text.php.


Member Function Documentation

HTMLPurifier_AttrDef_Text::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9 of file Text.php.

References HTMLPurifier_AttrDef::parseCDATA().

HTMLPurifier_AttrDef_Text::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 8554 of file HTMLPurifier.standalone.php.

References HTMLPurifier_AttrDef::parseCDATA().


The documentation for this class was generated from the following files: