From: Robert Kaiser Date: Sun, 25 Apr 2010 19:39:43 +0000 (+0200) Subject: make adding DOM content intrinsic to the output class, add an appendCOMElement on... X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=c1666e91613b658a3711a51fa367a0d11e677fd2;p=php-utility-classes.git make adding DOM content intrinsic to the output class, add an appendCOMElement on DOM classes and use it --- 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