X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;ds=sidebyside;f=classes%2Fdocument.php-class;h=4490589210b157a29f6442c8ff8a1ce0c386d281;hb=c79be4c2c1230110175194a8aee78a5eb20d6af0;hp=1933808002202d86d315fc2a553eedfb3d60122a;hpb=acaa2daa10fcee2745749592fa84e8a33aedd027;p=php-utility-classes.git
diff --git a/classes/document.php-class b/classes/document.php-class
index 1933808..4490589 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
@@ -121,6 +125,10 @@ class ExtendedDocument extends DOMDocument {
// appends an ExtendedDocument::createElementLabel() as a child of this document (see there for params)
// returns the new child
//
+ // public function appendElementDatalist([$id], [$options])
+ // appends an ExtendedDocument::createElementDatalist() as a child of this document (see there for params)
+ // returns the new child
+ //
// public function appendText($text)
// appends a DOMDocument::createTextNode() as a child of this document (see there for params)
// returns the new child
@@ -169,8 +177,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