function XMLParser::CharacterData in Asset 5
Same name and namespace in other branches
- 6 asset_youtube/xmlparser.class.php \XMLParser::CharacterData()
 - 6 asset_youtube/inc/xmlparser.class.php \XMLParser::CharacterData()
 
Handler function for the character data within a tag
Parameters
resource $parser:
string $data:
File
- asset_youtube/
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);');
}