19 declare(strict_types=1);
41 $result_array = $this->
upload->getResults();
42 $result = end($result_array);
45 $resource_identification = $this->storage->manage()->find($this->rid);
46 if ($resource_identification !==
null) {
47 $identifier = $this->storage->manage()->replaceWithUpload(
48 $resource_identification,
51 )->getIdentification()->serialize();
53 $identifier = $this->storage->manage()->upload($result, $this->stakeholder)->serialize();
55 $status = HandlerResult::STATUS_OK;
59 $status = HandlerResult::STATUS_FAILED;
60 $message = $result->getStatus()->getMessage();
__construct(private string $rid="")
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilObjBibliographicStakeholder.
getFileIdentifierParameterName()
Class BasicHandlerResult.
Class ilCtrlAwareStorageUploadHandler.
__construct(Container $dic, ilPlugin $plugin)