|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($config) | |
| _getIdentifierPrefix () | |
| getNonPathInfoParams () | |
| identifierExists ($identifier) | |
| identifiers ($metadataPrefix, $from, $until, $set, $offset, $limit, &$total) | |
| identifierToPublicationFormatId ($identifier) | |
| 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) | |
Public Member Functions inherited from OAI | |
| checkParams ($required=array(), $optional=array()) | |
| error ($code, $message) | |
| execute () | |
| extractDateParams ($params, &$from, &$until) | |
| formatMetadata ($format, $record) | |
| getParam ($name) | |
| getParams () | |
| GetRecord () | |
| Identify () | |
| ListIdentifiers () | |
| ListMetadataFormats () | |
| ListRecords () | |
| ListSets () | |
| metadataFormats ($namesOnly=false, $identifier=null) | |
| paramExists ($name) | |
| response ($response, $printParams=true) | |
| setParams ($params) | |
Data Fields | |
| $dao | |
| $press | |
| $pressId | |
| $site | |
Data Fields inherited from OAI | |
| $config | |
| $params | |
| $protocolVersion = '2.0' | |
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 26 of file PressOAI.inc.php.
| PressOAI::__construct | ( | $config | ) |
Reimplemented from OAI.
Definition at line 55 of file PressOAI.inc.php.
References OAI\$config, PKPApplication\get(), and DAORegistry\getDAO().
| PressOAI::_getIdentifierPrefix | ( | ) |
Get the OAI identifier prefix.
Definition at line 259 of file PressOAI.inc.php.
Referenced by identifierToPublicationFormatId(), and publicationFormatIdToIdentifier().
| PressOAI::getNonPathInfoParams | ( | ) |
Return a list of ignorable GET parameters.
Reimplemented from OAI.
Definition at line 71 of file PressOAI.inc.php.
| PressOAI::identifierExists | ( | $identifier | ) |
Reimplemented from OAI.
Definition at line 162 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
| PressOAI::identifiers | ( | $metadataPrefix, | |
| $from, | |||
| $until, | |||
| $set, | |||
| $offset, | |||
| $limit, | |||
| & | $total | ||
| ) |
Reimplemented from OAI.
Definition at line 205 of file PressOAI.inc.php.
References $pressId, HookRegistry\call(), and setSpecToSeriesId().
| PressOAI::identifierToPublicationFormatId | ( | $identifier | ) |
Convert OAI identifier to monograph ID.
| $identifier | string |
Definition at line 89 of file PressOAI.inc.php.
References _getIdentifierPrefix().
Referenced by identifierExists(), record(), and validIdentifier().
| PressOAI::publicationFormatIdToIdentifier | ( | $publicationFormatId | ) |
Convert monograph ID to OAI identifier.
| $publicationFormatId | int |
Definition at line 80 of file PressOAI.inc.php.
References _getIdentifierPrefix().
Referenced by repositoryInfo().
| PressOAI::record | ( | $identifier | ) |
Reimplemented from OAI.
Definition at line 174 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
| PressOAI::records | ( | $metadataPrefix, | |
| $from, | |||
| $until, | |||
| $set, | |||
| $offset, | |||
| $limit, | |||
| & | $total | ||
| ) |
Reimplemented from OAI.
Definition at line 188 of file PressOAI.inc.php.
References $pressId, HookRegistry\call(), and setSpecToSeriesId().
| PressOAI::repositoryInfo | ( | ) |
Reimplemented from OAI.
Definition at line 128 of file PressOAI.inc.php.
References DAORegistry\getDAO(), and publicationFormatIdToIdentifier().
| PressOAI::resumptionToken | ( | $tokenId | ) |
Reimplemented from OAI.
Definition at line 233 of file PressOAI.inc.php.
| PressOAI::saveResumptionToken | ( | $offset, | |
| $params | |||
| ) |
Reimplemented from OAI.
Definition at line 245 of file PressOAI.inc.php.
References OAI\$params.
| PressOAI::sets | ( | $offset, | |
| $limit, | |||
| & | $total | ||
| ) |
Reimplemented from OAI.
Definition at line 222 of file PressOAI.inc.php.
References HookRegistry\call().
| PressOAI::setSpecToSeriesId | ( | $setSpec, | |
$pressId = null |
|||
| ) |
Get press ID and series ID corresponding to a set specifier.
| $setSpec | string |
| $pressId | int |
Definition at line 104 of file PressOAI.inc.php.
Referenced by identifiers(), and records().
| PressOAI::validIdentifier | ( | $identifier | ) |
Reimplemented from OAI.
Definition at line 155 of file PressOAI.inc.php.
References identifierToPublicationFormatId().
| $dao PressOAI::$dao |
OAIDAO DAO for retrieving OAI records/tokens from database
Definition at line 49 of file PressOAI.inc.php.
| $press PressOAI::$press |
Press associated press object
Definition at line 37 of file PressOAI.inc.php.
| $pressId PressOAI::$pressId |
int null if no press
Definition at line 43 of file PressOAI.inc.php.
Referenced by identifiers(), and records().
| $site PressOAI::$site |
Site associated site object
Definition at line 31 of file PressOAI.inc.php.