Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
XMLDAO Class Reference

Public Member Functions

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

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

& XMLDAO::parse (   $file)

Parse an XML file and return data in an object.

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

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

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

Parse an XML file and return data in an array.

See Also
xml.XMLParser::parseStruct()
Parameters
$filestring
$tagsToMatcharray

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

& 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 44 of file XMLDAO.inc.php.

XMLDAO::XMLDAO ( )

Constructor.

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


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