X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fcbsm%2Futil%2Fdocument.php-class;h=8f6c6cff7916bbf3a4de2682ed1a2fcd61a48720;hp=46d4293fe81d105c8aa025e4bd6e75ba9f06957f;hb=cadc5980a5f1769114b3f9235442b19a970a8be2;hpb=bf91764c43dfd3ff85994c3668b1c3c1fcfba176 diff --git a/include/cbsm/util/document.php-class b/include/cbsm/util/document.php-class index 46d4293..8f6c6cf 100755 --- a/include/cbsm/util/document.php-class +++ b/include/cbsm/util/document.php-class @@ -46,6 +46,10 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementLink() as a child of this document (see there for params) // returns the new child // + // function appendImage($src, [$alt_text]) + // appends an ExtendedDocument::createElementImage() as a child of this document (see there for params) + // returns the new child + // // function appendFormDiv($action, $method, $name) // appends an ExtendedDocument::createElementForm() as a child of this document (see there for params) // returns an HTML
that is a child of the new child @@ -90,6 +94,10 @@ class ExtendedDocument extends DOMDocument { // appends a DOMDocument::createTextNode() as a child of this document (see there for params) // returns the new child // + // function appendComment($comment_data) + // appends a DOMDocument::createComment() as a child of this document (see there for params) + // returns the new child + // // function appendHTMLMarkup($htmldata, [$parentNode]) // appends a representation of the HTML data as children of the given parent node, by default this document // NO return value! @@ -102,9 +110,16 @@ 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 // + // function createElementImage($src, [$alt_text]) + // returns an ExtendedElement that is an HTML with the given (src) and alt attributes (set to '' by default) + // // function createElementForm($action, $method, $name) // returns an ExtendedElement that is an HTML
that is a child of an HTML
// with the given action, method, and name @@ -144,6 +159,10 @@ class ExtendedDocument extends DOMDocument { // // function createElementJS($jsdata) // returns an ExtendedElement that is an HTML