From: Robert Kaiser Date: Sun, 23 Oct 2016 18:25:36 +0000 (+0200) Subject: explicitly mark functions as public X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=61cc8aa9e32b806030754bd5988ca7ae0033ee8a;p=php-utility-classes.git explicitly mark functions as public --- diff --git a/include/cbsm/util/document.php-class b/include/cbsm/util/document.php-class index b708d1c..475f2c4 100755 --- a/include/cbsm/util/document.php-class +++ b/include/cbsm/util/document.php-class @@ -31,168 +31,168 @@ class ExtendedDocument extends DOMDocument { // initialize as an HTML5 document and return references to its basic elements. // returns an associative array with the following elements: 'html', 'head', 'title', 'body' // - // function appendElement($name, [$value]) + // public function appendElement($name, [$value]) // appends a DOMDocument::createElement() as a child of this document (see there for params) // returns the new child // - // function appendElementXML($name, $xmldata) + // public function appendElementXML($name, $xmldata) // appends a DOMDocument::createElement() with the given name as a child of this document, // with an ExtendedDocument::createXMLFragment() of the given XML data inside // returns the new child // - // function appendLink($target, [$value]) + // public function appendLink($target, [$value]) // appends an ExtendedDocument::createElementLink() as a child of this document (see there for params) // returns the new child // - // function appendImage($src, [$alt_text]) + // public function appendImage($src, [$alt_text]) // appends an ExtendedDocument::createElementImage() as a child of this document (see there for params) // returns the new child // - // function appendForm($action, $method, $name, [$id]) + // public function appendForm($action, $method, $name, [$id]) // appends an ExtendedDocument::createElementForm() as a child of this document (see there for params) // returns the new child // - // function appendFormDiv($action, $method, $name, [$id]) + // public function appendFormDiv($action, $method, $name, [$id]) // 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 // - // function appendInputHidden($name, $value) + // public function appendInputHidden($name, $value) // appends an ExtendedDocument::createElementInputHidden() as a child of this document (see there for params) // returns the new child // - // function appendInputText($name, $maxlength, $size, [$id], [$value]) + // public function appendInputText($name, $maxlength, $size, [$id], [$value]) // appends an ExtendedDocument::createElementInputText() as a child of this document (see there for params) // returns the new child // - // function appendInputNumber($name, $maxlength, $size, [$id], [$value]) + // public function appendInputNumber($name, $maxlength, $size, [$id], [$value]) // appends an ExtendedDocument::createElementInputNumber() as a child of this document (see there for params) // returns the new child // - // function appendInputPassword($name, $maxlength, $size, [$id], [$value]) + // public function appendInputPassword($name, $maxlength, $size, [$id], [$value]) // appends an ExtendedDocument::createElementInputPassword() as a child of this document (see there for params) // returns the new child // - // function appendInputRadio($name, $id, $value, $checked) + // public function appendInputRadio($name, $id, $value, $checked) // appends an ExtendedDocument::createElementInputRadio() as a child of this document (see there for params) // returns the new child // - // function appendInputCheckbox($name, $id, $value, $checked) + // public function appendInputCheckbox($name, $id, $value, $checked) // appends an ExtendedDocument::createElementInputCheckbox() as a child of this document (see there for params) // returns the new child // - // function appendInputFile($name, $id, $accept) + // public function appendInputFile($name, $id, $accept) // appends an ExtendedDocument::createElementInputFile() as a child of this document (see there for params) // returns the new child // - // function appendInputSubmit($value) + // public function appendInputSubmit($value) // appends an ExtendedDocument::createElementInputSubmit() as a child of this document (see there for params) // returns the new child // - // function appendButton($value, $onclick = null) + // public function appendButton($value, $onclick = null) // appends an ExtendedDocument::createElementButton() as a child of this document (see there for params) // returns the new child // - // function appendTextArea($name, $columns, $rows, [$id], [$value]) + // public function appendTextArea($name, $columns, $rows, [$id], [$value]) // appends an ExtendedDocument::createElementTextArea() as a child of this document (see there for params) // returns the new child // - // function appendElementSelect($name, [$id], [$options], [$default]) + // public function appendElementSelect($name, [$id], [$options], [$default]) // appends an ExtendedDocument::createElementSelect() as a child of this document (see there for params) // returns the new child // - // function appendElementOption($key, $desc, [$selected]) + // public function appendElementOption($key, $desc, [$selected]) // appends an ExtendedDocument::createElementOption() as a child of this document (see there for params) // returns the new child // - // function appendLabel($for_id, $value) + // public function appendLabel($for_id, $value) // appends an ExtendedDocument::createElementLabel() as a child of this document (see there for params) // returns the new child // - // function appendText($text) + // public function appendText($text) // appends a DOMDocument::createTextNode() as a child of this document (see there for params) // returns the new child // - // function appendComment($comment_data) + // public 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]) + // public 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! // - // function appendXMLMarkup($xmldata, [$parentNode]) + // public function appendXMLMarkup($xmldata, [$parentNode]) // appends a representation of the XML data as children of the given parent node, by default this document // NO return value! // - // function appendJSElement($jsdata) + // public function appendJSElement($jsdata) // appends an ExtendedDocument::createElementJS() as a child of this document (see there for params) // NO return value! // - // function appendCOMElement($module, $attributes) + // public 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]) + // public function createElementLink($target, [$value]) // returns an ExtendedElement that is an HTML with the given target (href) and (optional) value // - // function createElementImage($src, [$alt_text]) + // public 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) + // public 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 // - // function createElementInputHidden($name, $value) + // public function createElementInputHidden($name, $value) // returns an ExtendedElement that is an HTML of type 'hidden' with the given name and value // - // function createElementInputText($name, $maxlength, $size, [$id], [$value]) + // public function createElementInputText($name, $maxlength, $size, [$id], [$value]) // returns an ExtendedElement that is an HTML of type 'text' with the given name, maxlength, size, // and optionally id and value // - // function createElementInputNumber($name, $maxlength, $size, [$id], [$value]) + // public function createElementInputNumber($name, $maxlength, $size, [$id], [$value]) // returns an ExtendedElement that is an HTML of type 'number' with the given name, maxlength, size, // and optionally id and value // - // function createElementInputPassword($name, $maxlength, $size, [$id], [$value]) + // public function createElementInputPassword($name, $maxlength, $size, [$id], [$value]) // returns an ExtendedElement that is an HTML of type 'password' with the given name, maxlength, size, // and optionally id and value // - // function createElementInputRadio($name, $id, $value, $checked) + // public function createElementInputRadio($name, $id, $value, $checked) // returns an ExtendedElement that is an HTML of type 'radio' with the given name, id, value and // checked state // - // function createElementInputCheckbox($name, $id, $value, $checked) + // public function createElementInputCheckbox($name, $id, $value, $checked) // returns an ExtendedElement that is an HTML of type 'checkbox' with the given name, id, value and // checked state // - // function createElementInputFile($name, $id, $accept) + // public function createElementInputFile($name, $id, $accept) // returns an ExtendedElement that is an HTML of type 'file' with the given name, id and accept // - // function createElementInputSubmit($value) + // public function createElementInputSubmit($value) // returns an ExtendedElement that is an HTML of type 'submit' with the given value as label // - // function createElementButton($value, $onclick = null) + // public function createElementButton($value, $onclick = null) // returns an ExtendedElement that is an HTML button with the given value as label and optionally onclick attribute // - // function createElementTextArea($name, $columns, $rows, [$id], [$value]) + // public function createElementTextArea($name, $columns, $rows, [$id], [$value]) // returns an ExtendedElement that is an HTML