| 
    Cheetah
    
   | 
 
  
Public Member Functions | |
| tokenizeHTML ($html, $config, $context) | |
| parseAttributeString ($string, $config, $context) | |
  Public Member Functions inherited from HTMLPurifier_Lexer | |
| __construct () | |
| parseText ($string, $config) | |
| parseAttr ($string, $config) | |
| parseData ($string, $is_attr, $config) | |
| normalize ($html, $config, $context) | |
| extractBody ($html) | |
Public Attributes | |
| $tracksLineNumbers = true | |
  Public Attributes inherited from HTMLPurifier_Lexer | |
| $tracksLineNumbers = false | |
Protected Member Functions | |
| scriptCallback ($matches) | |
| substrCount ($haystack, $needle, $offset, $length) | |
Protected Attributes | |
| $_whitespace = "\x20\x09\x0D\x0A" | |
  Protected Attributes inherited from HTMLPurifier_Lexer | |
| $_special_entity2str | |
Additional Inherited Members | |
  Static Public Member Functions inherited from HTMLPurifier_Lexer | |
| static | create ($config) | 
  Static Protected Member Functions inherited from HTMLPurifier_Lexer | |
| static | escapeCDATA ($string) | 
| static | escapeCommentedCDATA ($string) | 
| static | removeIEConditional ($string) | 
| static | CDATACallback ($matches) | 
Our in-house implementation of a parser.
A pure PHP parser, DirectLex has absolutely no dependencies, making it a reasonably good default for PHP4. Written with efficiency in mind, it can be four times faster than HTMLPurifier_Lexer_PEARSax3, although it pales in comparison to HTMLPurifier_Lexer_DOMLex.
Definition at line 19267 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Lexer_DirectLex::parseAttributeString | ( | $string, | |
| $config, | |||
| $context | |||
| ) | 
Takes the inside of an HTML tag and makes an assoc array of attributes.
| string | $string | Inside of tag excluding name. | 
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context | 
Definition at line 19630 of file HTMLPurifier.standalone.php.
      
  | 
  protected | 
Callback function for script CDATA fudge
| array | $matches,in | form of array(opening tag, contents, closing tag) | 
Definition at line 19285 of file HTMLPurifier.standalone.php.
      
  | 
  protected | 
PHP 5.0.x compatible substr_count that implements offset and length
| string | $haystack | |
| string | $needle | |
| int | $offset | |
| int | $length | 
Definition at line 19608 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Lexer_DirectLex::tokenizeHTML | ( | $html, | |
| $config, | |||
| $context | |||
| ) | 
| String | $html | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context | 
Reimplemented from HTMLPurifier_Lexer.
Definition at line 19296 of file HTMLPurifier.standalone.php.
      
  | 
  protected | 
Whitespace characters for str(c)spn. @type string
Definition at line 19278 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Lexer_DirectLex::$tracksLineNumbers = true | 
@type bool
Definition at line 19272 of file HTMLPurifier.standalone.php.