3 declare(strict_types=1);
46 $this->storage = $DIC[
'resource_storage'];
56 $array = $this->
upload->getResults();
57 $result = end($array);
59 $i = $this->storage->manage()->upload($result, $this->stakeholder);
60 $status = HandlerResultInterface::STATUS_OK;
61 $identifier = $i->serialize();
62 $message =
'Upload ok';
64 $status = HandlerResultInterface::STATUS_FAILED;
66 $message = $result->getStatus()->getMessage();
74 $id = $this->storage->manage()->find($identifier);
76 $this->storage->manage()->remove(
$id, $this->stakeholder);
86 $id = $this->storage->manage()->find($identifier);
90 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
104 foreach ($file_ids as $file_id) {
105 $id = $this->storage->manage()->find($file_id);
109 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
getRemoveResult(string $identifier)
Class ilSkillProfileUploadHandlerGUI.
Class ilSkillProfileStorageStakeHolder.
ilSkillProfileStorageStakeHolder $stakeholder
getInfoResult(string $identifier)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getInfoForExistingFiles(array $file_ids)
getFileIdentifierParameterName()
Class BasicHandlerResult.
Interface FileInfoResult.
Class ilCtrlAwareUploadHandler.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
__construct(Container $dic, ilPlugin $plugin)
Class BasicFileInfoResult.