X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=classes%2Fdocument.php-class;h=be9d1502ec1e58805329dc14b613f6fdce4f8b00;hb=f887cdcbbd6e0442cfa2e8971135efb67d12ab52;hp=218ec3cfde4950d2475bc9b614a87769632d478e;hpb=880bcb60d557851e01051e9382decd36ec7665a1;p=php-utility-classes.git diff --git a/classes/document.php-class b/classes/document.php-class index 218ec3c..be9d150 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -11,8 +11,9 @@ class ExtendedDocument extends DOMDocument { // CONSTRUCTOR // construct a new DOM Document that uses our element definitions // - // static function initHTML5() + // static function initHTML5([$doc]) // initialize as an HTML5 document and return references to its basic elements. + // If a $doc is handed over (an ExtendedDocument or a derived class), load the content into that document. // returns an associative array with the following elements: 'html', 'head', 'title', 'body' // // public function appendElement($name, [$value]) @@ -84,7 +85,7 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementTextArea() as a child of this document (see there for params) // returns the new child // - // public function appendElementSelect($name, [$id], [$options], [$default]) + // public function appendElementSelect($name, [$id], [$options], [$default], [$strictmatch]) // appends an ExtendedDocument::createElementSelect() as a child of this document (see there for params) // returns the new child // @@ -120,7 +121,7 @@ class ExtendedDocument extends DOMDocument { // appends an ExtendedDocument::createElementJS() as a child of this document (see there for params) // NO return value! // - // public function appendJSFile($jsURL) + // public function appendJSFile($jsURL, [$defer], [$async]) // appends an ExtendedDocument::createElementJSFile() as a child of this document (see there for params) // returns the new child // @@ -174,9 +175,9 @@ class ExtendedDocument extends DOMDocument { // returns an ExtendedElement that is an HTML