My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
OAIService  
Represents a store's OAI-PMH service
Autogenerated
Updated Jan 13, 2010 by innovat...@gmail.com

note: this page is automatically generated from embedded documentation in the PHP source.

Overview

See:
http://n2.talis.com/wiki/Store_OAI_Service

Constructors

Methods

Constructor Detail

OAIService

public OAIService(mixed uri, mixed credentials, mixed request_factory)

Create a new instance of this class

Param:
string uri URI of the augment service
Credentials credentials the credentials to use for authenticated requests (optional)

Method Detail

list_records

public void list_records(mixed resumption_token)

List records available via the OAI service

Param:
string $resumption_token a valid resumption token for paging results
Return:
HttpResponse

make_list_records_uri

public void make_list_records_uri(mixed resumption_token)

parse_oai_xml

public void parse_oai_xml(mixed xml)

Parse the response from an OAI query into an array. This method returns an associative array with two keys

  • token => the resumption token
  • items => an array of items, each being an associative array with a single key called uri
Param:
string xml the OAI response as an XML document
Return:
array

Generated by PHPDoctor 2RC2


Sign in to add a comment
Powered by Google Project Hosting