that is a child of the new child
@@ -380,6 +438,10 @@ class ExtendedElement extends DOMElement {
// appends an ExtendedDocument::createElementInputText() 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
@@ -392,6 +454,10 @@ class ExtendedElement extends DOMElement {
// 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
@@ -412,6 +478,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!
@@ -439,6 +509,9 @@ class ExtendedElement extends DOMElement {
function appendLink($target, $value = '') {
return $this->appendChild($this->ownerDocument->createElementLink($target, $value));
}
+ 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));
return $formelem->appendElement('div');
@@ -449,6 +522,9 @@ 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 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));
}
@@ -458,6 +534,9 @@ class ExtendedElement extends DOMElement {
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));
}
@@ -473,6 +552,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);
}
@@ -504,6 +586,10 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends an ExtendedDocument::createElementLink() as a child of this fragment (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 fragment (see there for params)
// returns an HTML
that is a child of the new child
@@ -516,6 +602,10 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// appends an ExtendedDocument::createElementInputText() 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
@@ -528,6 +618,10 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
// 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
@@ -548,6 +642,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!
@@ -575,6 +673,9 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
function appendLink($target, $value = '') {
return $this->appendChild($this->ownerDocument->createElementLink($target, $value));
}
+ 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));
return $formelem->appendElement('div');
@@ -585,6 +686,9 @@ 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 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));
}
@@ -594,6 +698,9 @@ class ExtendedDocumentFragment extends DOMDocumentFragment {
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));
}
@@ -609,6 +716,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);
}