|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class UploadResult. More...
Collaboration diagram for ILIAS\FileUpload\DTO\UploadResult:Public Member Functions | |
| __construct (string $name, int $size, string $mimeType, private ImmutableStringMap $metaData, private ProcessingStatus $status, string $path) | |
| UploadResult constructor. More... | |
| getName () | |
| getSize () | |
| getMimeType () | |
| getMetaData () | |
| getStatus () | |
| isOK () | |
| getPath () | |
Private Attributes | |
| string | $name |
| int | $size |
| string | $mimeType |
| string | $path |
Class UploadResult.
The upload results are used to tell ILIAS about the file uploads. This class only purpose is to transport data.
Definition at line 36 of file UploadResult.php.
| ILIAS\FileUpload\DTO\UploadResult::__construct | ( | string | $name, |
| int | $size, | ||
| string | $mimeType, | ||
| private ImmutableStringMap | $metaData, | ||
| private ProcessingStatus | $status, | ||
| string | $path | ||
| ) |
UploadResult constructor.
| string | $name | The name of the uploaded file. |
| int | $size | The original file size. |
| string | $mimeType | The mime type of the uploaded file. |
| ImmutableStringMap | $metaData | Additional meta data. Make sure to wrap the instance with an ImmutableMapWrapper if the instance is mutable. |
| ProcessingStatus | $status | The status code either OK or REJECTED. |
| string | $path | The path to the newly moved file. |
Definition at line 58 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$mimeType, ILIAS\FileUpload\DTO\UploadResult\$name, ILIAS\FileUpload\DTO\UploadResult\$path, and ILIAS\FileUpload\DTO\UploadResult\$size.
| ILIAS\FileUpload\DTO\UploadResult::getMetaData | ( | ) |
Definition at line 102 of file UploadResult.php.
Referenced by ilObjFile\appendUpload(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath(), and ilObjFile\replaceWithUpload().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::getMimeType | ( | ) |
Definition at line 93 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$mimeType.
Referenced by ILIAS\ResourceStorage\Manager\BaseManager\appendNewRevision(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath(), and ILIAS\ResourceStorage\Manager\BaseManager\replaceWithUpload().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::getName | ( | ) |
Definition at line 75 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$name.
Referenced by ILIAS\Exercise\Submission\SubmissionManager\addUpload(), ILIAS\ResourceStorage\Manager\BaseManager\appendNewRevision(), ilObjFile\appendUpload(), ilWebDAVMountInstructionsDocumentFormGUI\getRawMountInstructionsFromFileUpload(), ImportUploadHandlerGUI\moveUploadedFileToTemp(), ilFileVersionsUploadHandlerGUI\processChunckedUpload(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath(), ILIAS\ResourceStorage\Manager\BaseManager\replaceWithUpload(), ilObjFile\replaceWithUpload(), ILIAS\ResourceStorage\Manager\Manager\upload(), and ilIndividualAssessmentFileStorage\uploadFile().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::getPath | ( | ) |
Definition at line 126 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$path.
Referenced by ImportUploadHandlerGUI\moveUploadedFileToTemp(), ilFileVersionsUploadHandlerGUI\processChunckedUpload(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload(), and ilIndividualAssessmentFileStorage\uploadFile().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::getSize | ( | ) |
Definition at line 84 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$size.
Referenced by ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::getStatus | ( | ) |
Definition at line 111 of file UploadResult.php.
Referenced by ilWebDAVMountInstructionsDocumentFormGUI\getRawMountInstructionsFromFileUpload(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
Here is the caller graph for this function:| ILIAS\FileUpload\DTO\UploadResult::isOK | ( | ) |
Definition at line 117 of file UploadResult.php.
References ILIAS\FileUpload\DTO\ProcessingStatus\OK.
Referenced by ilWebDAVMountInstructionsDocumentFormGUI\getRawMountInstructionsFromFileUpload(), ilObjBibliographicUploadHandlerGUI\getUploadResult(), ilFileVersionsUploadHandlerGUI\getUploadResult(), ilCtrlAwareStorageUploadHandler\getUploadResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\getUploadResult(), ImportUploadHandlerGUI\getUploadResult(), CustomIconUploadHandlerGUI\getUploadResult(), ilIndividualAssessmentMemberGUI\getUploadResult(), ilMailAttachmentGUI\getUploadResult(), ilMDCopyrightImageUploadHandlerGUI\getUploadResult(), ilMDVocabularyUploadHandlerGUI\getUploadResult(), ilOrgUnitTypeUploadHandlerGUI\getUploadResult(), ilStudyProgrammeTypeUploadHandlerGUI\getUploadResult(), and ilDidacticTemplateIconHandler\handleUpload().
Here is the caller graph for this function:
|
private |
Definition at line 41 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getMimeType().
|
private |
Definition at line 39 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getName().
|
private |
Definition at line 42 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getPath().
|
private |
Definition at line 40 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getSize().