From acaa2daa10fcee2745749592fa84e8a33aedd027 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Thu, 12 Mar 2020 01:39:04 +0100 Subject: [PATCH] add functions to add a style element (should only be needed inside ) --- classes/document.php-class | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) 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