From c1666e91613b658a3711a51fa367a0d11e677fd2 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 25 Apr 2010 21:39:43 +0200 Subject: [PATCH] make adding DOM content intrinsic to the output class, add an appendCOMElement on DOM classes and use it --- include/cbsm/util/document.php-class | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/include/cbsm/util/document.php-class b/include/cbsm/util/document.php-class index 46d4293..e641d23 100755 --- a/include/cbsm/util/document.php-class +++ b/include/cbsm/util/document.php-class @@ -102,6 +102,10 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementJS() as a child of this document (see there for params) // NO return value! // + // function appendCOMElement($module, $attributes) + // appends an ExtendedDocument::createCOMElement() as a child of this document (see there for params) + // returns the new child + // // function createElementLink($target, [$value]) // returns an ExtendedElement that is an HTML with the given target (href) and (optional) value // @@ -144,6 +148,10 @@ class ExtendedDocument extends DOMDocument { // // function createElementJS($jsdata) // returns an ExtendedElement that is an HTML