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
 
 $maxRecords
 
 $maxSets = 50
 
 $repositoryId = 'oai'
 
 $tokenLifetime = 86400
 

Detailed Description

Data structures associated with the OAI request handler.

OAI repository configuration.

See Also
OAI

Definition at line 23 of file OAIStruct.inc.php.

Member Function Documentation

OAIConfig::OAIConfig (   $baseUrl,
  $repositoryId 
)

Constructor.

Definition at line 72 of file OAIStruct.inc.php.

Member Data Documentation

string OAIConfig::$baseUrl = ''

URL to the OAI front-end

Definition at line 28 of file OAIStruct.inc.php.

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 OAIStruct.inc.php.

int OAIConfig::$maxIdentifiers = 500

maximum identifiers returned per request

Definition at line 54 of file OAIStruct.inc.php.

int OAIConfig::$maxRecords

maximum records returned per request

Definition at line 60 of file OAIStruct.inc.php.

int OAIConfig::$maxSets = 50

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

Definition at line 66 of file OAIStruct.inc.php.

string OAIConfig::$repositoryId = 'oai'

identifier of the repository

Definition at line 34 of file OAIStruct.inc.php.

int OAIConfig::$tokenLifetime = 86400

TTL of resumption tokens

Definition at line 48 of file OAIStruct.inc.php.


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