|
| | __construct ($context) |
| |
| | getHTMLFormatted ($config, $errors=null) |
| | Default HTML formatting implementation for error messages.
|
| |
|
| getRaw () |
| | Retrieves raw error data for custom formatter to use.
|
| |
| | send ($severity, $msg) |
| | Sends an error message to the collector for later use.
|
| |
|
|
const | CHILDREN = 3 |
| |
| const | LINENO = 0 |
| | Identifiers for the returned error array.
|
| |
|
const | MESSAGE = 2 |
| |
|
const | SEVERITY = 1 |
| |
◆ __construct()
| HTMLPurifier_ErrorCollector::__construct |
( |
| $context | ) |
|
◆ getHTMLFormatted()
| HTMLPurifier_ErrorCollector::getHTMLFormatted |
( |
| $config, |
|
|
| $errors = null ) |
Default HTML formatting implementation for error messages.
- Parameters
-
| HTMLPurifier_Config | $config | Configuration, vital for HTML output nature |
| array | $errors | Errors array to display; used for recursion. |
- Return values
-
◆ send()
| HTMLPurifier_ErrorCollector::send |
( |
| $severity, |
|
|
| $msg ) |
Sends an error message to the collector for later use.
- Parameters
-
| int | $severity | Error severity, PHP error style (don't use E_USER_) |
| string | $msg | Error message text |
◆ LINENO
| const HTMLPurifier_ErrorCollector::LINENO = 0 |
Identifiers for the returned error array.
These are purposely numeric so list() can be used.
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/ErrorCollector.php