// 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 <div> that is a child of the new child
// function createElementLink($target, [$value])
// returns an ExtendedElement that is an HTML <a> with the given target (href) and (optional) value
//
+ // function createElementImage($src, [$alt_text])
+ // returns an ExtendedElement that is an HTML <img> with the given (src) and alt attributes (set to '' by default)
+ //
// function createElementForm($action, $method, $name)
// returns an ExtendedElement that is an HTML <div> that is a child of an HTML <form>
// with the given action, method, and name
// appends an ExtendedDocument::createElementLink() as a child of this element (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 element (see there for params)
// returns an HTML <div> that is a child of the new child
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');
// 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 <div> that is a child of the new child
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');