X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=classes%2Fdocument.php-class;h=198296f3e1a7eaa5ac8906ebec66f1cb3f2b5273;hb=e67037744edbb115b88b23f3ab6926f77244ca9f;hp=1933808002202d86d315fc2a553eedfb3d60122a;hpb=acaa2daa10fcee2745749592fa84e8a33aedd027;p=php-utility-classes.git
diff --git a/classes/document.php-class b/classes/document.php-class
index 1933808..198296f 100755
--- a/classes/document.php-class
+++ b/classes/document.php-class
@@ -16,6 +16,10 @@ class ExtendedDocument extends DOMDocument {
// If a $doc is handed over (an ExtendedDocument or a derived class), load the content into that document.
// returns an associative array with the following elements: 'html', 'head', 'title', 'body'
//
+ // public function loadHTML5($source) {
+ // A version of loadHTML() - see DOMDocument documentation - that is made for loading HTML5 and not emitting warnings/errors for unknown elements.
+ // returns true on success, false otherwise, just like loadHTML5.
+ //
// public function appendElement($name, [$value])
// appends a DOMDocument::createElement() as a child of this document (see there for params)
// returns the new child
@@ -169,8 +173,7 @@ class ExtendedDocument extends DOMDocument {
// returns an ExtendedElement that is an HTML with the given src and alt attributes (set to '' by default)
//
// public function createElementForm($action, $method, $name)
- // returns an ExtendedElement that is an HTML