function XMLParser::CharacterData in Asset 6
Same name in this branch
- 6 asset_youtube/xmlparser.class.php \XMLParser::CharacterData()
- 6 asset_youtube/inc/xmlparser.class.php \XMLParser::CharacterData()
Same name and namespace in other branches
- 5 asset_youtube/xmlparser.class.php \XMLParser::CharacterData()
Handler function for the character data within a tag
Parameters
resource $parser:
string $data:
File
- asset_youtube/
inc/ xmlparser.class.php, line 184
Class
- XMLParser
- XML Parser Class (php4)
Code
function CharacterData($parser, $data) {
//Get the reference to the current parent object
$tag = $this
->GetStackLocation();
//Assign data to it
eval('$this->' . $tag . '->tagData .= trim($data);');
}