OMP-specific OAI interface. Designed to support both a site-wide and press-specific OAI interface (based on where the request is directed). More...
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) | |
OMP-specific OAI interface. Designed to support both a site-wide and press-specific OAI interface (based on where the request is directed).
Definition at line 25 of file PressOAI.inc.php.
| PressOAI._getIdentifierPrefix | ( | ) |
Get the OAI identifier prefix.
Definition at line 245 of file PressOAI.inc.php.
Referenced by identifierToPublicationFormatId(), and publicationFormatIdToIdentifier().
| PressOAI.getNonPathInfoParams | ( | ) |
Return a list of ignorable GET parameters.
Definition at line 56 of file PressOAI.inc.php.
| PressOAI.identifierExists | ( | $ | identifier | ) |
Definition at line 148 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
| & PressOAI.identifiers | ( | $ | metadataPrefix, | |
| $ | from, | |||
| $ | until, | |||
| $ | set, | |||
| $ | offset, | |||
| $ | limit, | |||
| &$ | total | |||
| ) |
Definition at line 191 of file PressOAI.inc.php.
References setSpecToSeriesId().
| PressOAI.identifierToPublicationFormatId | ( | $ | identifier | ) |
Convert OAI identifier to monograph ID.
| $identifier | string |
Definition at line 75 of file PressOAI.inc.php.
References _getIdentifierPrefix().
Referenced by identifierExists(), record(), and validIdentifier().
| PressOAI.PressOAI | ( | $ | config | ) |
| PressOAI.publicationFormatIdToIdentifier | ( | $ | publicationFormatId | ) |
Convert monograph ID to OAI identifier.
| $monographId | int |
Definition at line 65 of file PressOAI.inc.php.
References _getIdentifierPrefix().
Referenced by repositoryInfo().
| & PressOAI.record | ( | $ | identifier | ) |
Definition at line 160 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
| & PressOAI.records | ( | $ | metadataPrefix, | |
| $ | from, | |||
| $ | until, | |||
| $ | set, | |||
| $ | offset, | |||
| $ | limit, | |||
| &$ | total | |||
| ) |
Definition at line 174 of file PressOAI.inc.php.
References setSpecToSeriesId().
| & PressOAI.repositoryInfo | ( | ) |
Definition at line 114 of file PressOAI.inc.php.
References publicationFormatIdToIdentifier().
| & PressOAI.resumptionToken | ( | $ | tokenId | ) |
Definition at line 219 of file PressOAI.inc.php.
| & PressOAI.saveResumptionToken | ( | $ | offset, | |
| $ | params | |||
| ) |
Definition at line 231 of file PressOAI.inc.php.
| & PressOAI.sets | ( | $ | offset, | |
| $ | limit, | |||
| &$ | total | |||
| ) |
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.
| $setSpec | string | |
| $pressId | int |
Definition at line 90 of file PressOAI.inc.php.
Referenced by identifiers(), and records().
| PressOAI.validIdentifier | ( | $ | identifier | ) |
Definition at line 141 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
1.7.1