Open Journal Systems  3.3.0
OAIConfig Class Reference

Public Member Functions

 __construct ($baseUrl, $repositoryId)
 

Data Fields

 $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.

Constructor & Destructor Documentation

◆ __construct()

OAIConfig::__construct (   $baseUrl,
  $repositoryId 
)

Constructor.

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

References $baseUrl, $repositoryId, and Config\getVar().

Field Documentation

◆ $baseUrl

string OAIConfig::$baseUrl = ''

URL to the OAI front-end

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

Referenced by __construct().

◆ $granularity

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.

◆ $maxIdentifiers

int OAIConfig::$maxIdentifiers = 500

maximum identifiers returned per request

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

◆ $maxRecords

int OAIConfig::$maxRecords

maximum records returned per request

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

◆ $maxSets

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.

◆ $repositoryId

string OAIConfig::$repositoryId = 'oai'

identifier of the repository

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

Referenced by __construct().

◆ $tokenLifetime

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: