that is a child of the new child
//
@@ -391,6 +498,14 @@ class ExtendedElement extends DOMElement {
// appends an ExtendedDocument::createElementInputText() as a child of this element (see there for params)
// returns the new child
//
+ // function appendInputNumber($name, $maxlength, $size, [$id], [$value])
+ // appends an ExtendedDocument::createElementInputNumber() as a child of this element (see there for params)
+ // returns the new child
+ //
+ // function appendInputPassword($name, $maxlength, $size, [$id], [$value])
+ // appends an ExtendedDocument::createElementInputPassword() as a child of this element (see there for params)
+ // returns the new child
+ //
// function appendInputRadio($name, $id, $value, $checked)
// appends an ExtendedDocument::createElementInputRadio() as a child of this element (see there for params)
// returns the new child
@@ -399,10 +514,18 @@ class ExtendedElement extends DOMElement {
// appends an ExtendedDocument::createElementInputCheckbox() as a child of this element (see there for params)
// returns the new child
//
+ // function appendInputFile($name, $id, $accept)
+ // appends an ExtendedDocument::createElementInputFile() as a child of this element (see there for params)
+ // returns the new child
+ //
// function appendInputSubmit($value)
// appends an ExtendedDocument::createElementInputSubmit() as a child of this element (see there for params)
// returns the new child
//
+ // function appendButton($value, $onclick = null)
+ // appends an ExtendedDocument::createElementButton() as a child of this element (see there for params)
+ // returns the new child
+ //
// function appendTextArea($name, $columns, $rows, [$id], [$value])
// appends an ExtendedDocument::createElementTextArea() as a child of this element (see there for params)
// returns the new child
@@ -423,6 +546,10 @@ class ExtendedElement extends DOMElement {
// appends a DOMDocument::createTextNode() as a child of this element (see there for params)
// returns the new child
//
+ // function appendComment($comment_data)
+ // appends a DOMDocument::createComment() as a child of this element (see there for params)
+ // returns the new child
+ //
// function appendHTMLMarkup($htmldata)
// appends a representation of the HTML data as children of this element
// NO return value!
@@ -453,8 +580,11 @@ class ExtendedElement extends DOMElement {
function appendImage($src, $alt_text = '') {
return $this->appendChild($this->ownerDocument->createElementImage($src, $alt_text));
}
- function appendFormDiv($action, $method, $name) {
- $formelem = $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name));
+ function appendForm($action, $method, $name, $id = null) {
+ return $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name, $id));
+ }
+ function appendFormDiv($action, $method, $name, $id = null) {
+ $formelem = $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name, $id));
return $formelem->appendElement('div');
}
function appendInputHidden($name, $value) {
@@ -463,15 +593,27 @@ class ExtendedElement extends DOMElement {
function appendInputText($name, $maxlength, $size, $id = null, $value = null) {
return $this->appendChild($this->ownerDocument->createElementInputText($name, $maxlength, $size, $id, $value));
}
+ function appendInputNumber($name, $maxlength, $size, $id = null, $value = null) {
+ return $this->appendChild($this->ownerDocument->createElementInputNumber($name, $maxlength, $size, $id, $value));
+ }
+ function appendInputPassword($name, $maxlength, $size, $id = null, $value = null) {
+ return $this->appendChild($this->ownerDocument->createElementInputPassword($name, $maxlength, $size, $id, $value));
+ }
function appendInputRadio($name, $id, $value, $checked) {
return $this->appendChild($this->ownerDocument->createElementInputRadio($name, $id, $value, $checked));
}
function appendInputCheckbox($name, $id, $value, $checked) {
return $this->appendChild($this->ownerDocument->createElementInputCheckbox($name, $id, $value, $checked));
}
+ function appendInputFile($name, $id, $accept) {
+ return $this->appendChild($this->ownerDocument->createElementInputFile($name, $id, $accept));
+ }
function appendInputSubmit($value) {
return $this->appendChild($this->ownerDocument->createElementInputSubmit($value));
}
+ function appendButton($value, $onclick = null) {
+ return $this->appendChild($this->ownerDocument->createElementButton($value, $onclick));
+ }
function appendTextArea($name, $columns, $rows, $id = null, $value = null) {
return $this->appendChild($this->ownerDocument->createElementTextArea($name, $columns, $rows, $id, $value));
}
@@ -487,6 +629,9 @@ class ExtendedElement extends DOMElement {
function appendText($text) {
return $this->appendChild($this->ownerDocument->createTextNode($text));
}
+ function appendComment($comment_data) {
+ return $this->appendChild($this->ownerDocument->createComment($comment_data));
+ }
function appendHTMLMarkup($htmldata) {
$this->ownerDocument->appendHTMLMarkup($htmldata, $this);
}
@@ -522,7 +667,11 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends an ExtendedDocument::createElementImage() as a child of this document (see there for params)
// returns the new child
//
- // function appendFormDiv($action, $method, $name)
+ // function appendForm($action, $method, $name, [$id])
+ // appends an ExtendedDocument::createElementForm() as a child of this fragment (see there for params)
+ // returns the new child
+ //
+ // function appendFormDiv($action, $method, $name, [$id])
// appends an ExtendedDocument::createElementForm() as a child of this fragment (see there for params)
// returns an HTML
that is a child of the new child
//
@@ -534,6 +683,14 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends an ExtendedDocument::createElementInputText() as a child of this fragment (see there for params)
// returns the new child
//
+ // function appendInputNumber($name, $maxlength, $size, [$id], [$value])
+ // appends an ExtendedDocument::createElementInputNumber() as a child of this fragment (see there for params)
+ // returns the new child
+ //
+ // function appendInputPassword($name, $maxlength, $size, [$id], [$value])
+ // appends an ExtendedDocument::createElementInputPassword() as a child of this fragment (see there for params)
+ // returns the new child
+ //
// function appendInputRadio($name, $id, $value, $checked)
// appends an ExtendedDocument::createElementInputRadio() as a child of this fragment (see there for params)
// returns the new child
@@ -542,10 +699,18 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends an ExtendedDocument::createElementInputCheckbox() as a child of this fragment (see there for params)
// returns the new child
//
+ // function appendInputFile($name, $id, $accept)
+ // appends an ExtendedDocument::createElementInputFile() as a child of this fragment (see there for params)
+ // returns the new child
+ //
// function appendInputSubmit($value)
// appends an ExtendedDocument::createElementInputSubmit() as a child of this fragment (see there for params)
// returns the new child
//
+ // function appendButton($value, $onclick = null)
+ // appends an ExtendedDocument::createElementButton() as a child of this fragment (see there for params)
+ // returns the new child
+ //
// function appendTextArea($name, $columns, $rows, [$id], [$value])
// appends an ExtendedDocument::createElementTextArea() as a child of this fragment (see there for params)
// returns the new child
@@ -566,6 +731,10 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends a DOMDocument::createTextNode() as a child of this fragment (see there for params)
// returns the new child
//
+ // function appendComment($comment_data)
+ // appends a DOMDocument::createComment() as a child of this fragment (see there for params)
+ // returns the new child
+ //
// function appendHTMLMarkup($htmldata)
// appends a representation of the HTML data as children of this fragment
// NO return value!
@@ -596,8 +765,11 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
function appendImage($src, $alt_text = '') {
return $this->appendChild($this->ownerDocument->createElementImage($src, $alt_text));
}
- function appendFormDiv($action, $method, $name) {
- $formelem = $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name));
+ function appendForm($action, $method, $name, $id = null) {
+ return $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name, $id));
+ }
+ function appendFormDiv($action, $method, $name, $id = null) {
+ $formelem = $this->appendChild($this->ownerDocument->createElementForm($action, $method, $name, $id));
return $formelem->appendElement('div');
}
function appendInputHidden($name, $value) {
@@ -606,15 +778,27 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
function appendInputText($name, $maxlength, $size, $id = null, $value = null) {
return $this->appendChild($this->ownerDocument->createElementInputText($name, $maxlength, $size, $id, $value));
}
+ function appendInputNumber($name, $maxlength, $size, $id = null, $value = null) {
+ return $this->appendChild($this->ownerDocument->createElementInputNumber($name, $maxlength, $size, $id, $value));
+ }
+ function appendInputPassword($name, $maxlength, $size, $id = null, $value = null) {
+ return $this->appendChild($this->ownerDocument->createElementInputPassword($name, $maxlength, $size, $id, $value));
+ }
function appendInputRadio($name, $id, $value, $checked) {
return $this->appendChild($this->ownerDocument->createElementInputRadio($name, $id, $value, $checked));
}
function appendInputCheckbox($name, $id, $value, $checked) {
return $this->appendChild($this->ownerDocument->createElementInputCheckbox($name, $id, $value, $checked));
}
+ function appendInputFile($name, $id, $accept) {
+ return $this->appendChild($this->ownerDocument->createElementInputFile($name, $id, $accept));
+ }
function appendInputSubmit($value) {
return $this->appendChild($this->ownerDocument->createElementInputSubmit($value));
}
+ function appendButton($value, $onclick = null) {
+ return $this->appendChild($this->ownerDocument->createElementButton($value, $onclick));
+ }
function appendTextArea($name, $columns, $rows, $id = null, $value = null) {
return $this->appendChild($this->ownerDocument->createElementTextArea($name, $columns, $rows, $id, $value));
}
@@ -630,6 +814,9 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
function appendText($text) {
return $this->appendChild($this->ownerDocument->createTextNode($text));
}
+ function appendComment($comment_data) {
+ return $this->appendChild($this->ownerDocument->createComment($comment_data));
+ }
function appendHTMLMarkup($htmldata) {
$this->ownerDocument->appendHTMLMarkup($htmldata, $this);
}