You are here

function JSimpleXML::_characterData in Ubercart 5

Handler function for the character data within a tag

@access protected

Parameters

resource $parser:

string $data:

File

uc_store/includes/simplexml.php, line 339

Class

JSimpleXML
SimpleXML implementation.

Code

function _characterData($parser, $data) {

  //Get the reference to the current parent object
  $tag = $this
    ->_getStackLocation();

  //Assign data to it
  eval('$this->' . $tag . '->_data .= trim($data);');
}