44 $this->storage = $DIC[
'resource_storage'];
54 $array = $this->
upload->getResults();
55 $result = end($array);
57 $i = $this->storage->manage()->upload($result, $this->stakeholder);
58 $status = HandlerResultInterface::STATUS_OK;
59 $identifier =
$i->serialize();
62 $status = HandlerResultInterface::STATUS_FAILED;
64 $message = $result->getStatus()->getMessage();
72 $id = $this->storage->manage()->find($identifier);
74 $this->storage->manage()->remove(
$id, $this->stakeholder);
84 $id = $this->storage->manage()->find($identifier);
88 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
102 foreach ($file_ids as $file_id) {
103 $id = $this->storage->manage()->find($file_id);
107 $r = $this->storage->manage()->getCurrentRevision(
$id)->getInformation();
getRemoveResult(string $identifier)
Class ilSkillProfileUploadHandlerGUI.
Class ilSkillProfileStorageStakeHolder.
ilSkillProfileStorageStakeHolder $stakeholder
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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)
Class BasicHandlerResult.
Interface FileInfoResult.
Class ilCtrlAwareUploadHandler.
getFileIdentifierParameterName()
__construct(Container $dic, ilPlugin $plugin)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class BasicFileInfoResult.