XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_Lexer_PH5P Class Reference
Inheritance diagram for HTMLPurifier_Lexer_PH5P:
Inheritance graph

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from HTMLPurifier_Lexer
static create ($config)
 
- Public Attributes inherited from HTMLPurifier_Lexer
 $tracksLineNumbers = false
 
- Protected Member Functions inherited from HTMLPurifier_Lexer_DOMLex
 createEndNode ($node, &$tokens)
 
 createStartNode ($node, &$tokens, $collect)
 
 tokenizeDOM ($node, &$tokens)
 
 transformAttrToAssoc ($node_map)
 
 wrapHTML ($html, $config, $context)
 
- Static Protected Member Functions inherited from HTMLPurifier_Lexer
static CDATACallback ($matches)
 
static escapeCDATA ($string)
 
static escapeCommentedCDATA ($string)
 
static removeIEConditional ($string)
 
- 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 throughs an exception.

Definition at line 13 of file PH5P.php.

Member Function Documentation

HTMLPurifier_Lexer_PH5P::tokenizeHTML (   $html,
  $config,
  $context 
)

Definition at line 15 of file PH5P.php.

References $config, $html, $parser, HTMLPurifier_Lexer\normalize(), HTMLPurifier_Lexer_DOMLex\tokenizeDOM(), and HTMLPurifier_Lexer_DOMLex\wrapHTML().

Here is the call graph for this function:


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