From: Robert Kaiser Date: Thu, 12 Mar 2020 00:39:04 +0000 (+0100) Subject: add functions to add a style element (should only be needed inside ) X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=acaa2daa10fcee2745749592fa84e8a33aedd027;p=php-utility-classes.git add functions to add a style element (should only be needed inside ) --- diff --git a/classes/document.php-class b/classes/document.php-class index d3dca7d..1933808 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -150,9 +150,13 @@ class ExtendedDocument extends DOMDocument { // appends a representation of the XML data as children of the given parent node, by default this document // NO return value! // + // public function appendStyleElement($styledata) + // appends an ExtendedDocument::createElementStyle() as a child of this document (see there for params) + // returns the new child + // // public function appendJSElement($jsdata) // appends an ExtendedDocument::createElementJS() as a child of this document (see there for params) - // NO return value! + // returns the new child // // public function appendJSFile($jsURL, [$defer], [$async]) // appends an ExtendedDocument::createElementJSFile() as a child of this document (see there for params) @@ -243,6 +247,9 @@ class ExtendedDocument extends DOMDocument { // public function createElementLabel($for_id, $value) // returns an ExtendedElement that is an HTML