Open Journal Systems  3.3.0
XMLDAO Class Reference

Public Member Functions

 parse ($file)
 
 parseStruct ($file, $tagsToMatch=array())
 
 parseWithHandler ($file, $handler)
 

Detailed Description

Operations for retrieving and modifying objects from an XML data source.

Definition at line 19 of file XMLDAO.inc.php.

Member Function Documentation

◆ parse()

XMLDAO::parse (   $file)

Parse an XML file and return data in an object.

See also
xml.XMLParser::parse()
Parameters
$filestring

Definition at line 26 of file XMLDAO.inc.php.

◆ parseStruct()

XMLDAO::parseStruct (   $file,
  $tagsToMatch = array() 
)

Parse an XML file and return data in an array.

See also
xml.XMLParser::parseStruct()
Parameters
$filestring
$tagsToMatcharray
Returns
array?

Definition at line 50 of file XMLDAO.inc.php.

◆ parseWithHandler()

XMLDAO::parseWithHandler (   $file,
  $handler 
)

Parse an XML file with the specified handler and return data in an object.

See also
xml.XMLParser::parse()
Parameters
$filestring
$handlerreference to the handler to use with the parser.

Definition at line 37 of file XMLDAO.inc.php.


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