\HTMLPurifier_ErrorCollector
Error collection class that enables HTML Purifier to report HTML problems back to the user
Synopsis
class HTMLPurifier_ErrorCollector
{
- // constants
- const LINENO = 0;
- const SEVERITY = 1;
- const MESSAGE = 2;
- const CHILDREN = 3;
- // members
- protected $errors;
- protected $_current;
- protected array $_stacks = ;
- protected $locale;
- protected $generator;
- protected $context;
- protected array $lines = ;
- // methods
- public void __construct()
- public void send()
- public void getRaw()
- public void getHTMLFormatted()
- private void _renderStruct()
Constants
Name | Value |
---|---|
LINENO | 0 |
SEVERITY | 1 |
MESSAGE | 2 |
CHILDREN | 3 |
Members
protected
- $_current
- $_stacks
- $context
- $errors
- $generator
- $lines
- $locale
Methods
private
public
- __construct()
- getHTMLFormatted() — Default HTML formatting implementation for error messages
- getRaw() — Retrieves raw error data for custom formatter to use
- send() — Sends an error message to the collector for later use