Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
LibraryResultParser Interface Reference
Inheritance diagram for LibraryResultParser:
BASELibraryResultParser K10PlusLibraryResultParser MarcxmlLibraryResultParser SRULibraryResultParser

Public Member Functions

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

Detailed Description

This interface defines methods for reading search results from a library catalog.

Member Function Documentation

readRecord (   $data = '')

Reads one search result record from raw data.

Returns
LibraryDocument|null The read data as LibraryDocument. null is returned if no document could be read.

Implemented in MarcxmlLibraryResultParser, BASELibraryResultParser, SRULibraryResultParser, and K10PlusLibraryResultParser.

readResultSet (   $data = '')

Read a set of search results from raw data.

Returns
LibraryDocument[] An array with all LibraryDocument instances that could be read from the raw data.

Implemented in MarcxmlLibraryResultParser, BASELibraryResultParser, SRULibraryResultParser, and K10PlusLibraryResultParser.


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