19declare(strict_types=1);
45 $this->storage =
$DIC[
'resource_storage'];
55 $array = $this->
upload->getResults();
56 $result = end($array);
58 $i = $this->storage->manage()->upload($result, $this->stakeholder);
59 $status = HandlerResultInterface::STATUS_OK;
60 $identifier = $i->serialize();
63 $status = HandlerResultInterface::STATUS_FAILED;
65 $message = $result->getStatus()->getMessage();
73 $id = $this->storage->manage()->find($identifier);
75 $this->storage->manage()->remove(
$id, $this->stakeholder);
85 $id = $this->storage->manage()->find($identifier);
89 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
103 foreach ($file_ids as $file_id) {
104 $id = $this->storage->manage()->find($file_id);
108 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class ilCtrlAwareUploadHandler.
getFileIdentifierParameterName()
@inheritDoc
Class BasicFileInfoResult.
Class BasicHandlerResult.
Class ilSkillProfileStorageStakeHolder.
Class ilSkillProfileUploadHandlerGUI.
getInfoResult(string $identifier)
getInfoForExistingFiles(array $file_ids)
__construct()
ilUIDemoFileUploadHandlerGUI constructor.
getRemoveResult(string $identifier)
ilSkillProfileStorageStakeHolder $stakeholder
Interface FileInfoResult.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc