Property | Type | Description | |
---|---|---|---|
$dao | DAO for retrieving OAI records/tokens from database | ||
$journal | associated journal object | ||
$journalId | Journal ID; null if no journal | ||
$site | associated site object |
Method | Description | |
---|---|---|
__construct ( $config ) | ||
articleIdToIdentifier ( $articleId ) : string | Convert article ID to OAI identifier. | |
getNonPathInfoParams ( ) : array | Return a list of ignorable GET parameters. | |
identifierExists ( $identifier ) | ||
identifierToArticleId ( $identifier ) : integer | Convert OAI identifier to article ID. | |
identifiers ( $metadataPrefix, $from, $until, $set, $offset, $limit, &$total ) | ||
record ( $identifier ) | ||
records ( $metadataPrefix, $from, $until, $set, $offset, $limit, &$total ) | ||
repositoryInfo ( ) | ||
resumptionToken ( $tokenId ) | ||
saveResumptionToken ( $offset, $params ) | ||
setSpecToSectionId ( $setSpec, $journalId = null ) : integer | Get the journal ID and section ID corresponding to a set specifier. | |
sets ( $offset, $limit, &$total ) | ||
validIdentifier ( $identifier ) |
public articleIdToIdentifier ( $articleId ) : string | ||
$articleId | int | |
return | string |
public getNonPathInfoParams ( ) : array | ||
return | array |
public identifierToArticleId ( $identifier ) : integer | ||
$identifier | string | |
return | integer |
public identifiers ( $metadataPrefix, $from, $until, $set, $offset, $limit, &$total ) |
public records ( $metadataPrefix, $from, $until, $set, $offset, $limit, &$total ) |
public setSpecToSectionId ( $setSpec, $journalId = null ) : integer | ||
return | integer |