// appends a DOMDocument::createTextNode() as a child of this document (see there for params)
// returns the new child
//
+ // public function appendEntity($name)
+ // appends a DOMDocument::createEntityReference() as a child of this document (see there for params)
+ // returns the new child
+ //
// public function appendComment($comment_data)
// appends a DOMDocument::createComment() as a child of this document (see there for params)
// returns the new child
public function appendText($text) {
return $this->appendChild($this->createTextNode($text));
}
+ public function appendEntity($name) {
+ return $this->appendChild($this->createEntityReference($name));
+ }
public function appendComment($comment_data) {
return $this->appendChild($this->createComment($comment_data));
}
// appends a DOMDocument::createTextNode() as a child of this element (see there for params)
// returns the new child
//
+ // public function appendEntity($name)
+ // appends a DOMDocument::createEntityReference() as a child of this element (see there for params)
+ // returns the new child
+ //
// public function appendComment($comment_data)
// appends a DOMDocument::createComment() as a child of this element (see there for params)
// returns the new child
public function appendText($text) {
return $this->appendChild($this->ownerDocument->createTextNode($text));
}
+ public function appendEntity($name) {
+ return $this->appendChild($this->ownerDocument->createEntityReference($name));
+ }
public function appendComment($comment_data) {
return $this->appendChild($this->ownerDocument->createComment($comment_data));
}
// appends a DOMDocument::createTextNode() as a child of this fragment (see there for params)
// returns the new child
//
+ // public function appendEntity($name)
+ // appends a DOMDocument::createEntityReference() as a child of this fragment (see there for params)
+ // returns the new child
+ //
// public function appendComment($comment_data)
// appends a DOMDocument::createComment() as a child of this fragment (see there for params)
// returns the new child
public function appendText($text) {
return $this->appendChild($this->ownerDocument->createTextNode($text));
}
+ public function appendEntity($name) {
+ return $this->appendChild($this->ownerDocument->createEntityReference($name));
+ }
public function appendComment($comment_data) {
return $this->appendChild($this->ownerDocument->createComment($comment_data));
}