From: Robert Kaiser Date: Fri, 12 Apr 2024 23:33:47 +0000 (+0200) Subject: make sure that values like '0' are valid in select options X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=commitdiff_plain;h=HEAD;hp=19aad8afcc770848fd356bd5f8c2d8286c6e97a3 make sure that values like '0' are valid in select options --- diff --git a/classes/document.php-class b/classes/document.php-class index ed688b6..c2f0fcf 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -65,6 +65,10 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementInputRange() as a child of this document (see there for params) // returns the new child // + // public function appendInputSearch($name, $maxlength, $size, [$id], [$value]) + // appends an ExtendedDocument::createElementInputSearch() as a child of this document (see there for params) + // returns the new child + // // public function appendInputUrl($name, $maxlength, $size, [$id], [$value]) // appends an ExtendedDocument::createElementInputUrl() as a child of this document (see there for params) // returns the new child @@ -125,6 +129,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 @@ -198,6 +206,10 @@ class ExtendedDocument extends DOMDocument { // returns an ExtendedElement that is an HTML of type 'url' with the given name, maxlength, size, // and optionally id and value // + // public function createElementInputSearch($name, $maxlength, $size, [$id], [$value]) + // returns an ExtendedElement that is an HTML of type 'search' with the given name, maxlength, size, + // and optionally id and value + // // public function createElementInputEmail($name, $maxlength, $size, [$id], [$value]) // returns an ExtendedElement that is an HTML of type 'email' with the given name, maxlength, size, // and optionally id and value @@ -250,6 +262,9 @@ class ExtendedDocument extends DOMDocument { // public function createElementLabel($for_id, $value) // returns an ExtendedElement that is an HTML