X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fhtmlpurifier%2FHTMLPurifier%2FErrorStruct.php;fp=inc%2F3rdparty%2Fhtmlpurifier%2FHTMLPurifier%2FErrorStruct.php;h=a6c0da29e800c7092e38445f49f96f7e2b0f14de;hb=d4949327efa15b492cab1bef3fe074290a328a17;hp=0000000000000000000000000000000000000000;hpb=c9bd17a1007bb78e5de0775efca01df0fb515031;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ErrorStruct.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ErrorStruct.php new file mode 100644 index 00000000..a6c0da29 --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ErrorStruct.php @@ -0,0 +1,74 @@ +children[$type][$id])) { + $this->children[$type][$id] = new HTMLPurifier_ErrorStruct(); + $this->children[$type][$id]->type = $type; + } + return $this->children[$type][$id]; + } + + /** + * @param int $severity + * @param string $message + */ + public function addError($severity, $message) + { + $this->errors[] = array($severity, $message); + } +} + +// vim: et sw=4 sts=4