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