Öffentliche Methoden | |
__construct ($context) | |
send ($severity, $msg) | |
getRaw () | |
getHTMLFormatted ($config, $errors=null) | |
Datenfelder | |
const | LINENO = 0 |
const | SEVERITY = 1 |
const | MESSAGE = 2 |
const | CHILDREN = 3 |
Geschützte Attribute | |
$errors | |
$_current | |
$_stacks = array(array()) | |
$locale | |
$generator | |
$context | |
$lines = array() | |
Private Methoden | |
_renderStruct (&$ret, $struct, $line=null, $col=null) | |
Error collection class that enables HTML Purifier to report HTML problems back to the user
Definiert in Zeile 7 der Datei ErrorCollector.php.
__construct | ( | $context) |
HTMLPurifier_Context | $context |
Definiert in Zeile 57 der Datei ErrorCollector.php.
Benutzt $context.
|
private |
Definiert in Zeile 206 der Datei ErrorCollector.php.
Benutzt $context.
Wird benutzt von getHTMLFormatted().
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. |
Definiert in Zeile 174 der Datei ErrorCollector.php.
Benutzt $errors und _renderStruct().
getRaw | ( | ) |
Retrieves raw error data for custom formatter to use
Definiert in Zeile 163 der Datei ErrorCollector.php.
Benutzt $errors.
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 |
Definiert in Zeile 70 der Datei ErrorCollector.php.
Benutzt HTMLPurifier_ErrorStruct\ATTR, HTMLPurifier_ErrorStruct\CSSPROP und HTMLPurifier_ErrorStruct\TOKEN.
|
protected |
array
Definiert in Zeile 27 der Datei ErrorCollector.php.
|
protected |
array
Definiert in Zeile 32 der Datei ErrorCollector.php.
|
protected |
Definiert in Zeile 47 der Datei ErrorCollector.php.
Wird benutzt von __construct() und _renderStruct().
|
protected |
array
Definiert in Zeile 22 der Datei ErrorCollector.php.
Wird benutzt von getHTMLFormatted() und getRaw().
|
protected |
Definiert in Zeile 42 der Datei ErrorCollector.php.
|
protected |
array
Definiert in Zeile 52 der Datei ErrorCollector.php.
|
protected |
Definiert in Zeile 37 der Datei ErrorCollector.php.
const CHILDREN = 3 |
Definiert in Zeile 17 der Datei ErrorCollector.php.
const LINENO = 0 |
Identifiers for the returned error array. These are purposely numeric so list() can be used.
Definiert in Zeile 14 der Datei ErrorCollector.php.
const MESSAGE = 2 |
Definiert in Zeile 16 der Datei ErrorCollector.php.
const SEVERITY = 1 |
Definiert in Zeile 15 der Datei ErrorCollector.php.