2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
14 require_once(dirname(__FILE__) . '/LanguageParser.class.php');
18 * Class for parsing XML languages info and returning a Language Objects
20 * @author Joel Kronenberg
23 class LanguagesParser extends LanguageParser {
26 function startElement($parser, $name, $attributes) {
27 if ($name == 'languages') {
28 // strip off the initial 'languages'
29 $this->element_path = array();
31 parent::startElement($this->parser, $name, $attributes);