languagesparser.class.php

来自「是一个教学内容管理系统」· PHP 代码 · 共 38 行

PHP
38
字号
<?php/************************************************************************//* ATutor																*//************************************************************************//* Copyright (c) 2002-2004 by Greg Gay, Joel Kronenberg & Heidi Hazelton*//* Adaptive Technology Resource Centre / University of Toronto			*//* http://atutor.ca														*//*																		*//* This program is free software. You can redistribute it and/or		*//* modify it under the terms of the GNU General Public License			*//* as published by the Free Software Foundation.						*//************************************************************************/// $Id: LanguagesParser.class.php 5319 2005-08-18 15:05:13Z joel $require_once(dirname(__FILE__) . '/LanguageParser.class.php');/*** LanguagesParser* Class for parsing XML languages info and returning a Language Objects* @access	public* @author	Joel Kronenberg* @package	Language*/class LanguagesParser extends LanguageParser {	// private	function startElement($parser, $name, $attributes) {		if ($name == 'languages') {			// strip off the initial 'languages'			$this->element_path = array();		} else {			parent::startElement($this->parser, $name, $attributes);		}   } }?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?