Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
RTXMLParser Class Reference

Public Member Functions

parse ($file)
 
parseAll ($dir)
 
parseContext (&$context)
 
parseSearch (&$search)
 
parseVersion (&$version)
 

Detailed Description

Class to parse Reading Tools data from an XML format.

See Also
RT

Definition at line 21 of file RTXMLParser.inc.php.

Member Function Documentation

& RTXMLParser::parse (   $file)

Parse an RT version XML file.

Parameters
$filestring path to the XML file
Returns
RTVersion

Definition at line 32 of file RTXMLParser.inc.php.

References parseVersion().

Referenced by parseAll().

& RTXMLParser::parseAll (   $dir)

Parse all RT version XML files in a directory.

Parameters
$dirstring path to the directory
Returns
array RTVersion

Definition at line 52 of file RTXMLParser.inc.php.

References parse().

& RTXMLParser::parseContext ( $context)

Parse context entity.

Parameters
$contextXMLNode
Returns
RTContext

Definition at line 111 of file RTXMLParser.inc.php.

References parseSearch().

Referenced by parseVersion().

& RTXMLParser::parseSearch ( $search)

Parse search entity.

Parameters
$contextXMLNode
Returns
RTSearch

Definition at line 154 of file RTXMLParser.inc.php.

Referenced by parseContext().

& RTXMLParser::parseVersion ( $version)

Parse version entity.

Parameters
$versionXMLNode
Returns
RTVersion

Definition at line 80 of file RTXMLParser.inc.php.

References parseContext().

Referenced by parse().


The documentation for this class was generated from the following file: