2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/
6 /* Adaptive Technology Resource Centre / University of Toronto */
9 /* This program is free software. You can redistribute it and/or */
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /************************************************************************/
15 require_once(dirname(__FILE__) . '/LanguageParser.class.php');
19 * Class for parsing XML languages info and returning a Language Objects
21 * @author Joel Kronenberg
24 class LanguagesParser extends LanguageParser {
27 function startElement($parser, $name, $attributes) {
28 if ($name == 'languages') {
29 // strip off the initial 'languages'
30 $this->element_path = array();
32 parent::startElement($this->parser, $name, $attributes);