public function XML2Array::tagOpen in Opigno 7
File
- modules/
scorm/ includes/ XML2Array.php, line 36 - 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 tagOpen($parser, $name, $attrs) {
$tag = array(
"name" => $name,
"attrs" => $attrs,
);
array_push($this->output, $tag);
}