From: Robert Kaiser Date: Mon, 24 Oct 2016 01:56:00 +0000 (+0200) Subject: add email input and JS script tags pointing to files, return element from appendCOMEl... X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=ea32f7e5a537d82c4c39e7446d00dc2ce458b526;p=php-utility-classes.git add email input and JS script tags pointing to files, return element from appendCOMElement (as doc always said) --- diff --git a/include/cbsm/util/document.php-class b/include/cbsm/util/document.php-class index 475f2c4..32d4e3e 100755 --- a/include/cbsm/util/document.php-class +++ b/include/cbsm/util/document.php-class @@ -68,6 +68,10 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementInputNumber() as a child of this document (see there for params) // returns the new child // + // public function appendInputEmail($name, $maxlength, $size, [$id], [$value]) + // appends an ExtendedDocument::createElementInputEmail() as a child of this document (see there for params) + // returns the new child + // // public function appendInputPassword($name, $maxlength, $size, [$id], [$value]) // appends an ExtendedDocument::createElementInputPassword() as a child of this document (see there for params) // returns the new child @@ -128,6 +132,10 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementJS() as a child of this document (see there for params) // NO return value! // + // public function appendJSFile($jsURL) + // appends an ExtendedDocument::createElementJSFile() as a child of this document (see there for params) + // returns the new child + // // public function appendCOMElement($module, $attributes) // appends an ExtendedDocument::createCOMElement() as a child of this document (see there for params) // returns the new child @@ -153,6 +161,10 @@ class ExtendedDocument extends DOMDocument { // returns an ExtendedElement that is an HTML of type 'number' 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 + // // public function createElementInputPassword($name, $maxlength, $size, [$id], [$value]) // returns an ExtendedElement that is an HTML of type 'password' with the given name, maxlength, size, // and optionally id and value @@ -192,6 +204,9 @@ class ExtendedDocument extends DOMDocument { // public function createElementJS($jsdata) // returns an ExtendedElement that is an HTML