SetLoader

OAI-PMH Harvest Tool

category

VuFind

package

Harvest_Tools

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Methods

Constructor.

__construct(\VuFindHarvest\OaiPmh\Communicator $communicator) 

Arguments

$communicator

\VuFindHarvest\OaiPmh\Communicator

Low-level API client

Load set list from the server.

getNames() : array

Response

array

Make an OAI-PMH request. Die if there is an error; return a SimpleXML object on success.

sendRequest(string $verb, array $params = array()) : object

Arguments

$verb

string

OAI-PMH verb to execute.

$params

array

GET parameters for ListRecords method.

Response

object

SimpleXML-formatted response.

Set an object to accept console output messages.

setOutputWriter(\VuFindHarvest\ConsoleOutput\WriterInterface $writer) : void
inherited

Arguments

Write a string to the console output writer (if set).

write(string $str) : void
inherited

Arguments

$str

string

String to write.

Write a string w/newline to the console output writer (if set).

writeLine(string $str) : void
inherited

Arguments

$str

string

String to write.

Properties

Low-level OAI-PMH communicator

communicator : \VuFindHarvest\OaiPmh\Communicator

Writer helper

outputWriter : \VuFindHarvest\ConsoleOutput\WriterInterface
inherited