API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_Lexer_PH5P Class Reference
Inheritance diagram for HTMLPurifier_Lexer_PH5P:
Collaboration diagram for HTMLPurifier_Lexer_PH5P:

Public Member Functions

 tokenizeHTML ($html, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_Lexer_DOMLex
 __construct ()
 
 tokenizeHTML ($html, $config, $context)
 
 muteErrorHandler ($errno, $errstr)
 
 callbackUndoCommentSubst ($matches)
 
 callbackArmorCommentEntities ($matches)
 
- Public Member Functions inherited from HTMLPurifier_Lexer
 __construct ()
 
 parseText ($string, $config)
 
 parseAttr ($string, $config)
 
 parseData ($string, $is_attr, $config)
 
 tokenizeHTML ($string, $config, $context)
 
 normalize ($html, $config, $context)
 
 extractBody ($html)
 

Additional Inherited Members

- Static Public Member Functions inherited from HTMLPurifier_Lexer
static create ($config)
 
- Data Fields inherited from HTMLPurifier_Lexer
 $tracksLineNumbers = false
 
- Protected Member Functions inherited from HTMLPurifier_Lexer_DOMLex
 tokenizeDOM ($node, &$tokens, $config)
 
 getTagName ($node)
 
 getData ($node)
 
 createStartNode ($node, &$tokens, $collect, $config)
 
 createEndNode ($node, &$tokens)
 
 transformAttrToAssoc ($node_map)
 
 wrapHTML ($html, $config, $context, $use_div=true)
 
- Static Protected Member Functions inherited from HTMLPurifier_Lexer
static escapeCDATA ($string)
 
static escapeCommentedCDATA ($string)
 
static removeIEConditional ($string)
 
static CDATACallback ($matches)
 
- Protected Attributes inherited from HTMLPurifier_Lexer
 $_special_entity2str
 

Detailed Description

Experimental HTML5-based parser using Jeroen van der Meer's PH5P library. Occupies space in the HTML5 pseudo-namespace, which may cause conflicts.

Note
Recent changes to PHP's DOM extension have resulted in some fatal error conditions with the original version of PH5P. Pending changes, this lexer will punt to DirectLex if DOM throws an exception.

Member Function Documentation

◆ tokenizeHTML()

tokenizeHTML (   $html,
  $config,
  $context 
)
Parameters
string$html
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
HTMLPurifier_Token[]

Reimplemented from HTMLPurifier_Lexer_DOMLex.

Here is the call graph for this function:

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