|
Cheetah
|
Public Member Functions | |
| __construct ($context) | |
| send ($severity, $msg) | |
| getRaw () | |
| getHTMLFormatted ($config, $errors=null) | |
Public Attributes | |
| 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
Definition at line 4785 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ErrorCollector::__construct | ( | $context | ) |
| HTMLPurifier_Context | $context |
Definition at line 4835 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ErrorCollector::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. |
Definition at line 4952 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ErrorCollector::getRaw | ( | ) |
Retrieves raw error data for custom formatter to use
Definition at line 4941 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ErrorCollector::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 |
Definition at line 4848 of file HTMLPurifier.standalone.php.
|
protected |
@type array
Definition at line 4805 of file HTMLPurifier.standalone.php.
|
protected |
@type array
Definition at line 4810 of file HTMLPurifier.standalone.php.
|
protected |
@type HTMLPurifier_Context
Definition at line 4825 of file HTMLPurifier.standalone.php.
|
protected |
@type array
Definition at line 4800 of file HTMLPurifier.standalone.php.
|
protected |
@type HTMLPurifier_Generator
Definition at line 4820 of file HTMLPurifier.standalone.php.
|
protected |
@type array
Definition at line 4830 of file HTMLPurifier.standalone.php.
|
protected |
@type HTMLPurifier_Language
Definition at line 4815 of file HTMLPurifier.standalone.php.
| const HTMLPurifier_ErrorCollector::CHILDREN = 3 |
Definition at line 4795 of file HTMLPurifier.standalone.php.
| const HTMLPurifier_ErrorCollector::LINENO = 0 |
Identifiers for the returned error array. These are purposely numeric so list() can be used.
Definition at line 4792 of file HTMLPurifier.standalone.php.
| const HTMLPurifier_ErrorCollector::MESSAGE = 2 |
Definition at line 4794 of file HTMLPurifier.standalone.php.
| const HTMLPurifier_ErrorCollector::SEVERITY = 1 |
Definition at line 4793 of file HTMLPurifier.standalone.php.