- keyword recommendation

- composer updates
This commit is contained in:
Arno Kaimbacher 2020-05-11 14:05:53 +02:00
parent 79b51e93e7
commit 214b118199
3 changed files with 87 additions and 53 deletions

View file

@ -264,7 +264,7 @@ class RequestController extends Controller
* @param array &$oaiRequest Contains full request information
* @return void
*/
private function handleListRecords($oaiRequest)
private function handleListRecords(array &$oaiRequest)
{
//$maxRecords = 30; //$this->_configuration->getMaxListRecords();
$maxRecords = $this->configuration->getMaxListRecords();
@ -342,7 +342,8 @@ class RequestController extends Controller
}
$repIdentifier = "tethys.at";
$tokenTempPath = storage_path('app' . DIRECTORY_SEPARATOR . 'resumption'); //$this->_configuration->getResumptionTokenPath();
//$this->_configuration->getResumptionTokenPath();
$tokenTempPath = storage_path('app' . DIRECTORY_SEPARATOR . 'resumption');
$this->proc->setParameter('', 'repIdentifier', $repIdentifier);
$this->xml->appendChild($this->xml->createElement('Datasets'));
@ -357,7 +358,7 @@ class RequestController extends Controller
if (true === array_key_exists('metadataPrefix', $oaiRequest)) {
$metadataPrefix = $oaiRequest['metadataPrefix'];
}
//$this->proc->setParameter('', 'oai_metadataPrefix', $metadataPrefix);
$this->proc->setParameter('', 'oai_metadataPrefix', $metadataPrefix);
$tokenWorker = new ResumptionTokens();
$tokenWorker->setResumptionPath($tokenTempPath);