function JSimpleXML::loadString in Ubercart 5
Interprets a string of XML into an object
This function will take the well-formed xml string data and return an object of class JSimpleXMLElement with properties containing the data held within the xml document. If any errors occur, it returns FALSE.
Parameters
string Well-formed xml string data:
string currently ignored:
Return value
object JSimpleXMLElement
File
- uc_store/
includes/ simplexml.php, line 167
Class
- JSimpleXML
- SimpleXML implementation.
Code
function loadString($string, $classname = null) {
$this
->_parse($string);
return true;
}