From c79be4c2c1230110175194a8aee78a5eb20d6af0 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 26 Feb 2023 02:41:20 +0100 Subject: [PATCH 1/4] add support for datalist element --- classes/document.php-class | 39 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/classes/document.php-class b/classes/document.php-class index ed688b6..4490589 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -125,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 @@ -250,6 +254,9 @@ class ExtendedDocument extends DOMDocument { // public function createElementLabel($for_id, $value) // returns an ExtendedElement that is an HTML