From ea32f7e5a537d82c4c39e7446d00dc2ce458b526 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 24 Oct 2016 03:56:00 +0200 Subject: [PATCH 1/1] add email input and JS script tags pointing to files, return element from appendCOMElement (as doc always said) --- include/cbsm/util/document.php-class | 75 ++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 3 deletions(-) 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