public function Repository::listRecordsByToken in Views OAI-PMH 8
File
- src/
Service/ Repository.php, line 160
Class
Namespace
Drupal\views_oai_pmh\ServiceCode
public function listRecordsByToken($token) {
$params = $this
->decodeResumptionToken($token);
$token = NULL;
if ($this->offset) {
$token = $this
->encodeResumptionToken($this->offset, NULL, NULL, $params['metadataPrefix']);
}
return new RecordList($this->records, $token);
}