|
| parseFile ($file) |
| Parses a file that contains a single string-hash.
|
|
| parseMultiFile ($file) |
| Parses a file that contains multiple string-hashes delimited by '-—'.
|
|
|
| $default = 'ID' |
| @type string
|
|
|
| parseHandle ($fh) |
| Internal parser that acepts a file handle.
|
|
◆ parseFile()
HTMLPurifier_StringHashParser::parseFile |
( |
| $file | ) |
|
Parses a file that contains a single string-hash.
- Parameters
-
- Return values
-
◆ parseHandle()
HTMLPurifier_StringHashParser::parseHandle |
( |
| $fh | ) |
|
|
protected |
Internal parser that acepts a file handle.
- Note
- While it's possible to simulate in-memory parsing by using custom stream wrappers, if such a use-case arises we should factor out the file handle into its own class.
- Parameters
-
resource | $fh | File handle with pointer at start of valid string-hash block. |
- Return values
-
◆ parseMultiFile()
HTMLPurifier_StringHashParser::parseMultiFile |
( |
| $file | ) |
|
Parses a file that contains multiple string-hashes delimited by '-—'.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/StringHashParser.php