XML_sql2xml::getXMLObject – return an XML DomDocument object


require_once "XML/sql2xml.php";

Object XML_sql2xml::getXMLObject ( mixed $result = null )


Returns an XML DomDocument object with a XML representation of the result sets. The result set can be directly provided here, or if you need more than one in your XML, then you have to provide each of them with add() before you call getXMLObject(), but the last one can also be provided here.


Return value

Object - DomDocument object


This function can not be called statically.

Returns a XML representation of the result set. (Previous) set options for the instance (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.