Stud.IP  5.4
BASELibraryResultParser Class Reference
Inheritance diagram for BASELibraryResultParser:
LibraryResultParser

Public Member Functions

 readResultSet ($data='')
 
 readRecord ($data='')
 

Protected Member Functions

 indexChildren (\DOMElement $node)
 
 readXMLRecord (\DOMElement $node)
 

Detailed Description

This is a LibraryResultParser implementation for the BASE catalog.

See also
LibraryResultParser

Member Function Documentation

◆ indexChildren()

indexChildren ( \DOMElement  $node)
protected

This is a helper method to index the child nodes of a node which makes accessing them easier. The index is like the "name" attribute of the DOM child node.

Parameters
DOMElement$nodeThe node whose child nodes shall be indexed.
Returns
DOMElement[] An array of DOMElement nodes reperesenting the indexed child nodes of the supplied node.

◆ readRecord()

readRecord (   $data = '')

◆ readResultSet()

readResultSet (   $data = '')

◆ readXMLRecord()

readXMLRecord ( \DOMElement  $node)
protected

Reads the XML nodes of one record and creates a LibraryDocument out of it.

Parameters
DOMElement$nodeThe XML node of one record.
Returns
LibraryDocument The LibraryDocument instance that could be read from the data.

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