function XMLParser::HandleError in Asset 6
Same name in this branch
- 6 asset_youtube/xmlparser.class.php \XMLParser::HandleError()
- 6 asset_youtube/inc/xmlparser.class.php \XMLParser::HandleError()
Same name and namespace in other branches
- 5 asset_youtube/xmlparser.class.php \XMLParser::HandleError()
Handles an XML parsing error
Parameters
int $code XML Error Code:
int $line Line on which the error happened:
int $col Column on which the error happened:
2 calls to XMLParser::HandleError()
- XMLParser::Parse in asset_youtube/
xmlparser.class.php - Initiates and runs PHP's XML parser
- XMLParser::Parse in asset_youtube/
inc/ xmlparser.class.php - Initiates and runs PHP's XML parser
File
- asset_youtube/
xmlparser.class.php, line 100
Class
- XMLParser
- XML Parser Class (php4)
Code
function HandleError($code, $line, $col) {
trigger_error('XML Parsing Error at ' . $line . ':' . $col . '. Error ' . $code . ': ' . xml_error_string($code));
}