

Öffentliche Methoden | |
| tokenizeHTML ($html, $config, $context) | |
| parseAttributeString ($string, $config, $context) | |
Datenfelder | |
| $tracksLineNumbers = true | |
Geschützte Methoden | |
| scriptCallback ($matches) | |
| substrCount ($haystack, $needle, $offset, $length) | |
Geschützte Attribute | |
| $_whitespace = "\x20\x09\x0D\x0A" | |
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.
Definiert in Zeile 13 der Datei DirectLex.php.
| parseAttributeString | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Takes the inside of an HTML tag and makes an assoc array of attributes.
| $string | Inside of tag excluding name. |
Definiert in Zeile 342 der Datei DirectLex.php.


| scriptCallback | ( | $ | matches | ) | [protected] |
Callback function for script CDATA fudge
| $matches,in | form of array(opening tag, contents, closing tag) |
Definiert in Zeile 27 der Datei DirectLex.php.
| substrCount | ( | $ | haystack, | |
| $ | needle, | |||
| $ | offset, | |||
| $ | length | |||
| ) | [protected] |
PHP 5.0.x compatible substr_count that implements offset and length
Definiert in Zeile 323 der Datei DirectLex.php.

| tokenizeHTML | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Lexes an HTML string into tokens.
| $string | String HTML. |
Erneute Implementation von HTMLPurifier_Lexer.
Definiert in Zeile 31 der Datei DirectLex.php.

$_whitespace = "\x20\x09\x0D\x0A" [protected] |
Whitespace characters for str(c)spn.
Definiert in Zeile 21 der Datei DirectLex.php.
| $tracksLineNumbers = true |
Whether or not this lexer implements line-number/column-number tracking. If it does, set to true.
Erneute Implementation von HTMLPurifier_Lexer.
Definiert in Zeile 16 der Datei DirectLex.php.
| Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|