| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
Error collection class that enables HTML Purifier to report HTML problems back to the user. More...
 Collaboration diagram for HTMLPurifier_ErrorCollector:
 Collaboration diagram for HTMLPurifier_ErrorCollector:| Public Member Functions | |
| __construct ($context) | |
| send ($severity, $msg) | |
| Sends an error message to the collector for later use.  More... | |
| getRaw () | |
| Retrieves raw error data for custom formatter to use.  More... | |
| getHTMLFormatted ($config, $errors=null) | |
| Default HTML formatting implementation for error messages.  More... | |
| Data Fields | |
| const | LINENO = 0 | 
| Identifiers for the returned error array.  More... | |
| const | SEVERITY = 1 | 
| const | MESSAGE = 2 | 
| const | CHILDREN = 3 | 
| Protected Attributes | |
| $errors | |
| @type array  More... | |
| $_current | |
| @type array  More... | |
| $_stacks = array(array()) | |
| @type array  More... | |
| $locale | |
| @type HTMLPurifier_Language  More... | |
| $generator | |
| @type HTMLPurifier_Generator  More... | |
| $context | |
| @type HTMLPurifier_Context  More... | |
| $lines = array() | |
| @type array  More... | |
| Private Member Functions | |
| _renderStruct (&$ret, $struct, $line=null, $col=null) | |
Error collection class that enables HTML Purifier to report HTML problems back to the user.
Definition at line 7 of file ErrorCollector.php.
| HTMLPurifier_ErrorCollector::__construct | ( | $context | ) | 
| HTMLPurifier_Context | $context | 
Definition at line 57 of file ErrorCollector.php.
References $context.
| 
 | private | 
Definition at line 206 of file ErrorCollector.php.
References $context, $current, $i, and $ret.
Referenced by getHTMLFormatted().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 174 of file ErrorCollector.php.
References $config, $errors, $ret, and _renderStruct().
 Here is the call graph for this function:
 Here is the call graph for this function:| HTMLPurifier_ErrorCollector::getRaw | ( | ) | 
Retrieves raw error data for custom formatter to use.
Definition at line 163 of file ErrorCollector.php.
References $errors.
| 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 70 of file ErrorCollector.php.
References PHPMailer\PHPMailer\$token, HTMLPurifier_ErrorStruct\ATTR, HTMLPurifier_ErrorStruct\CSSPROP, and HTMLPurifier_ErrorStruct\TOKEN.
| 
 | protected | 
@type array
Definition at line 27 of file ErrorCollector.php.
| 
 | protected | 
@type array
Definition at line 32 of file ErrorCollector.php.
| 
 | protected | 
@type HTMLPurifier_Context
Definition at line 47 of file ErrorCollector.php.
Referenced by __construct(), and _renderStruct().
| 
 | protected | 
@type array
Definition at line 22 of file ErrorCollector.php.
Referenced by getHTMLFormatted(), and getRaw().
| 
 | protected | 
@type HTMLPurifier_Generator
Definition at line 42 of file ErrorCollector.php.
| 
 | protected | 
@type array
Definition at line 52 of file ErrorCollector.php.
| 
 | protected | 
@type HTMLPurifier_Language
Definition at line 37 of file ErrorCollector.php.
| const HTMLPurifier_ErrorCollector::CHILDREN = 3 | 
Definition at line 17 of file ErrorCollector.php.
| const HTMLPurifier_ErrorCollector::LINENO = 0 | 
Identifiers for the returned error array.
These are purposely numeric so list() can be used.
Definition at line 14 of file ErrorCollector.php.
| const HTMLPurifier_ErrorCollector::MESSAGE = 2 | 
Definition at line 16 of file ErrorCollector.php.
| const HTMLPurifier_ErrorCollector::SEVERITY = 1 | 
Definition at line 15 of file ErrorCollector.php.