![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
| __construct ($context) | |
| send ($severity, $msg) | |
| getRaw () | |
| getHTMLFormatted ($config, $errors=null) | |
Data Fields | |
| const | LINENO = 0 |
| const | SEVERITY = 1 |
| const | MESSAGE = 2 |
| const | CHILDREN = 3 |
Protected Attributes | |
| $errors | |
| $_current | |
| $_stacks = array(array()) | |
| $locale | |
| $generator | |
| $context | |
| $lines = array() | |
Error collection class that enables HTML Purifier to report HTML problems back to the user
| __construct | ( | $context | ) |
| HTMLPurifier_Context | $context |
| getHTMLFormatted | ( | $config, | |
$errors = null |
|||
| ) |
Default HTML formatting implementation for error messages
| HTMLPurifier_Config | $config | Configuration, vital for HTML output nature |
| array | $errors | Errors array to display; used for recursion. |
| getRaw | ( | ) |
Retrieves raw error data for custom formatter to use
| send | ( | $severity, | |
| $msg | |||
| ) |
Sends an error message to the collector for later use
| int | $severity | Error severity, PHP error style (don't use E_USER_) |
| string | $msg | Error message text |
|
protected |
@type array
|
protected |
@type array
|
protected |
@type HTMLPurifier_Context
|
protected |
@type array
|
protected |
@type HTMLPurifier_Generator
|
protected |
@type array
|
protected |
@type HTMLPurifier_Language
| const CHILDREN = 3 |
| const LINENO = 0 |
Identifiers for the returned error array. These are purposely numeric so list() can be used.
| const MESSAGE = 2 |
| const SEVERITY = 1 |