19declare(strict_types=1);
30 protected \ILIAS\FileUpload\FileUpload
$upload;
42 $this->
upload = $DIC->upload();
58 if (!isset($file_input[
"tmp_name"])) {
61 return $this->repo->importFromLegacyUpload(
70 if ($this->repo->hasFile($this->ass_id)) {
71 $this->repo->deliverFile($this->ass_id);
77 return $this->repo->getFilename($this->ass_id);
84 if ($this->repo->hasFile($this->ass_id)) {
85 $this->repo->clone($this->ass_id, $to_ass_id);
ILIAS FileUpload FileUpload $upload
__construct(int $ass_id, SampleSolutionRepository $repo, \ilExcSampleSolutionStakeholder $stakeholder, InternalDomainService $domain)
SampleSolutionRepository $repo
ilExcSampleSolutionStakeholder $stakeholder
InternalDomainService $domain
importFromLegacyUpload(array $file_input)
Interface ResourceStakeholder.
if(!file_exists('../ilias.ini.php'))