public function XML2Array::tagData in Opigno 7
File
- modules/
scorm/ includes/ XML2Array.php, line 41 - Defines the XML2Array class, for easy XML manipulation. Based on http://ch2.php.net/xml_parse#52567.
Class
- XML2Array
- @file Defines the XML2Array class, for easy XML manipulation. Based on http://ch2.php.net/xml_parse#52567.
Code
public function tagData($parser, $tagData) {
if (trim($tagData)) {
if (isset($this->output[count($this->output) - 1]['tagData'])) {
$this->output[count($this->output) - 1]['tagData'] .= $tagData;
}
else {
$this->output[count($this->output) - 1]['tagData'] = $tagData;
}
}
}