function XMLParser::XMLParser in Asset 6
Same name in this branch
- 6 asset_youtube/xmlparser.class.php \XMLParser::XMLParser()
- 6 asset_youtube/inc/xmlparser.class.php \XMLParser::XMLParser()
Same name and namespace in other branches
- 5 asset_youtube/xmlparser.class.php \XMLParser::XMLParser()
Constructor. Loads XML document.
Parameters
string $xml The string of the XML document:
Return value
File
- asset_youtube/
xmlparser.class.php, line 63
Class
- XMLParser
- XML Parser Class (php4)
Code
function XMLParser($xml = '') {
//Load XML document
$this->xml = $xml;
// Set stack to an array
$this->stack = array();
}