Public Member Functions

PressOAI Class Reference
[Oai_omp]

OMP-specific OAI interface. Designed to support both a site-wide and press-specific OAI interface (based on where the request is directed). More...

List of all members.

Public Member Functions

 _getIdentifierPrefix ()
 getNonPathInfoParams ()
 identifierExists ($identifier)
identifiers ($metadataPrefix, $from, $until, $set, $offset, $limit, &$total)
 identifierToPublicationFormatId ($identifier)
 PressOAI ($config)
 publicationFormatIdToIdentifier ($publicationFormatId)
record ($identifier)
records ($metadataPrefix, $from, $until, $set, $offset, $limit, &$total)
repositoryInfo ()
resumptionToken ($tokenId)
saveResumptionToken ($offset, $params)
sets ($offset, $limit, &$total)
 setSpecToSeriesId ($setSpec, $pressId=null)
 validIdentifier ($identifier)

Detailed Description

OMP-specific OAI interface. Designed to support both a site-wide and press-specific OAI interface (based on where the request is directed).

See also:
OAIDAO

Definition at line 25 of file PressOAI.inc.php.


Member Function Documentation

PressOAI._getIdentifierPrefix (  ) 

Get the OAI identifier prefix.

Returns:
string

Definition at line 245 of file PressOAI.inc.php.

Referenced by identifierToPublicationFormatId(), and publicationFormatIdToIdentifier().

PressOAI.getNonPathInfoParams (  ) 

Return a list of ignorable GET parameters.

Returns:
array

Definition at line 56 of file PressOAI.inc.php.

PressOAI.identifierExists ( identifier  ) 
See also:
OAI.identifierExists

Definition at line 148 of file PressOAI.inc.php.

References identifierToPublicationFormatId().

& PressOAI.identifiers ( metadataPrefix,
from,
until,
set,
offset,
limit,
&$  total 
)
See also:
OAI.identifiers

Definition at line 191 of file PressOAI.inc.php.

References setSpecToSeriesId().

PressOAI.identifierToPublicationFormatId ( identifier  ) 

Convert OAI identifier to monograph ID.

Parameters:
$identifier string
Returns:
int

Definition at line 75 of file PressOAI.inc.php.

References _getIdentifierPrefix().

Referenced by identifierExists(), record(), and validIdentifier().

PressOAI.PressOAI ( config  ) 
See also:
OAI.OAI

Definition at line 42 of file PressOAI.inc.php.

References Request.getPress().

PressOAI.publicationFormatIdToIdentifier ( publicationFormatId  ) 

Convert monograph ID to OAI identifier.

Parameters:
$monographId int
Returns:
string

Definition at line 65 of file PressOAI.inc.php.

References _getIdentifierPrefix().

Referenced by repositoryInfo().

& PressOAI.record ( identifier  ) 
See also:
OAI.record

Definition at line 160 of file PressOAI.inc.php.

References identifierToPublicationFormatId().

& PressOAI.records ( metadataPrefix,
from,
until,
set,
offset,
limit,
&$  total 
)
See also:
OAI.records

Definition at line 174 of file PressOAI.inc.php.

References setSpecToSeriesId().

& PressOAI.repositoryInfo (  ) 
See also:
OAI.repositoryInfo

Definition at line 114 of file PressOAI.inc.php.

References publicationFormatIdToIdentifier().

& PressOAI.resumptionToken ( tokenId  ) 
See also:
OAI.resumptionToken

Definition at line 219 of file PressOAI.inc.php.

& PressOAI.saveResumptionToken ( offset,
params 
)
See also:
OAI.saveResumptionToken

Definition at line 231 of file PressOAI.inc.php.

& PressOAI.sets ( offset,
limit,
&$  total 
)
See also:
OAI.sets

Definition at line 208 of file PressOAI.inc.php.

PressOAI.setSpecToSeriesId ( setSpec,
pressId = null 
)

Get press ID and series ID corresponding to a set specifier.

Parameters:
$setSpec string
$pressId int
Returns:
int

Definition at line 90 of file PressOAI.inc.php.

Referenced by identifiers(), and records().

PressOAI.validIdentifier ( identifier  ) 
See also:
OAI.validIdentifier

Definition at line 141 of file PressOAI.inc.php.

References identifierToPublicationFormatId().


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