Definition at line 26 of file SampleSolutionManager.php.
◆ __construct()
◆ cloneTo()
ILIAS\Exercise\SampleSolution\SampleSolutionManager::cloneTo |
( |
int |
$to_ass_id | ) |
|
Definition at line 80 of file SampleSolutionManager.php.
82 : void {
83
84 if ($this->repo->hasFile($this->ass_id)) {
85 $this->repo->clone($this->ass_id, $to_ass_id);
86 }
87 }
◆ deliver()
ILIAS\Exercise\SampleSolution\SampleSolutionManager::deliver |
( |
| ) |
|
Definition at line 68 of file SampleSolutionManager.php.
68 : void
69 {
70 if ($this->repo->hasFile($this->ass_id)) {
71 $this->repo->deliverFile($this->ass_id);
72 }
73 }
◆ getFilename()
ILIAS\Exercise\SampleSolution\SampleSolutionManager::getFilename |
( |
| ) |
|
◆ getStakeholder()
ILIAS\Exercise\SampleSolution\SampleSolutionManager::getStakeholder |
( |
| ) |
|
|
protected |
◆ importFromLegacyUpload()
ILIAS\Exercise\SampleSolution\SampleSolutionManager::importFromLegacyUpload |
( |
array |
$file_input | ) |
|
Definition at line 56 of file SampleSolutionManager.php.
56 : string
57 {
58 if (!isset($file_input["tmp_name"])) {
59 return "";
60 }
61 return $this->repo->importFromLegacyUpload(
62 $this->ass_id,
63 $file_input,
64 $this->stakeholder
65 );
66 }
◆ $ass_id
int ILIAS\Exercise\SampleSolution\SampleSolutionManager::$ass_id |
|
protected |
◆ $domain
◆ $repo
◆ $stakeholder
◆ $upload
The documentation for this class was generated from the following file: