AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / docs / include / classes / Language / LanguagesParser.class.php
1 <?php
2 /************************************************************************/
3 /* AContent                                                             */
4 /************************************************************************/
5 /* Copyright (c) 2010                                                   */
6 /* Inclusive Design Institute                                           */
7 /*                                                                      */
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 /************************************************************************/
12
13 require_once(dirname(__FILE__) . '/LanguageParser.class.php');
14
15 /**
16 * LanguagesParser
17 * Class for parsing XML languages info and returning a Language Objects
18 * @access       public
19 * @author       Joel Kronenberg
20 * @package      Language
21 */
22 class LanguagesParser extends LanguageParser {
23
24         // private
25         function startElement($parser, $name, $attributes) {
26                 if ($name == 'languages') {
27                         // strip off the initial 'languages'
28                         $this->element_path = array();
29                 } else {
30                         parent::startElement($this->parser, $name, $attributes);
31                 }
32    }
33  
34 }
35
36 ?>