ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
HTMLPurifier_AttrDef_Text Class Reference

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

+ Inheritance diagram for HTMLPurifier_AttrDef_Text:
+ Collaboration diagram for HTMLPurifier_AttrDef_Text:

Public Member Functions

 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition. More...
 
 parseCDATA ($string)
 Convenience method that parses a string as if it were CDATA. More...
 
 make ($string)
 Factory method for creating this class from a string. More...
 

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_AttrDef
 $minimized = false
 Tells us whether or not an HTML attribute is minimized. More...
 
 $required = false
 Tells us whether or not an HTML attribute is required. More...
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 mungeRgb ($string)
 Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. More...
 
 expandCSSEscape ($string)
 Parses a possibly escaped CSS string and returns the "pure" version of it. More...
 

Detailed Description

Validates arbitrary text according to the HTML spec.

Definition at line 6 of file Text.php.

Member Function Documentation

◆ validate()

HTMLPurifier_AttrDef_Text::validate (   $string,
  $config,
  $context 
)

Definition at line 9 of file Text.php.

References HTMLPurifier_AttrDef\parseCDATA().

9  {
10  return $this->parseCDATA($string);
11  }
parseCDATA($string)
Convenience method that parses a string as if it were CDATA.
Definition: AttrDef.php:58
+ Here is the call graph for this function:

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