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

Public Member Functions

 OAIConfig ($baseUrl, $repositoryId)

Public Attributes

 $baseUrl = ''
 $granularity = 'YYYY-MM-DDThh:mm:ssZ'
 $maxIdentifiers = 500
 $maxSets = 50
 $repositoryId = 'oai'
 $tokenLifetime = 86400

Detailed Description

Data structures associated with the OAI request handler.

OAI repository configuration.

See Also

Definition at line 23 of file

Member Function Documentation

OAIConfig::OAIConfig (   $baseUrl,


Definition at line 72 of file

Member Data Documentation

string OAIConfig::$baseUrl = ''

URL to the OAI front-end

Definition at line 28 of file

string OAIConfig::$granularity = 'YYYY-MM-DDThh:mm:ssZ'

record datestamp granularity; Must be either 'YYYY-MM-DD' or 'YYYY-MM-DDThh:mm:ssZ'

Definition at line 42 of file

int OAIConfig::$maxIdentifiers = 500

maximum identifiers returned per request

Definition at line 54 of file

int OAIConfig::$maxRecords

maximum records returned per request

Definition at line 60 of file

int OAIConfig::$maxSets = 50

maximum sets returned per request (must be 0 if sets not supported)

Definition at line 66 of file

string OAIConfig::$repositoryId = 'oai'

identifier of the repository

Definition at line 34 of file

int OAIConfig::$tokenLifetime = 86400

TTL of resumption tokens

Definition at line 48 of file

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