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();
$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