API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
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) | |
tokenizeHTML ($string, $config, $context) | |
normalize ($html, $config, $context) | |
extractBody ($html) | |
Data Fields | |
$tracksLineNumbers = true | |
Data Fields 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.
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 |
|
protected |
Callback function for script CDATA fudge
array | $matches,in | form of array(opening tag, contents, closing tag) |
|
protected |
PHP 5.0.x compatible substr_count that implements offset and length
string | $haystack | |
string | $needle | |
int | $offset | |
int | $length |
tokenizeHTML | ( | $html, | |
$config, | |||
$context | |||
) |
String | $html | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_Lexer.
|
protected |
Whitespace characters for str(c)spn. @type string
$tracksLineNumbers = true |
@type bool