ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class UploadResult. More...
Public Member Functions | |
__construct ($name, $size, $mimeType, ImmutableStringMap $metaData, ProcessingStatus $status, $path) | |
UploadResult constructor. More... | |
getName () | |
getSize () | |
getMimeType () | |
getMetaData () | |
getStatus () | |
getPath () | |
Private Attributes | |
$name | |
$size | |
$mimeType | |
$metaData | |
$status | |
$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 20 of file UploadResult.php.
ILIAS\FileUpload\DTO\UploadResult::__construct | ( | $name, | |
$size, | |||
$mimeType, | |||
ImmutableStringMap | $metaData, | ||
ProcessingStatus | $status, | ||
$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 62 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$metaData, ILIAS\FileUpload\DTO\UploadResult\$mimeType, ILIAS\FileUpload\DTO\UploadResult\$name, ILIAS\FileUpload\DTO\UploadResult\$path, ILIAS\FileUpload\DTO\UploadResult\$size, ILIAS\FileUpload\DTO\UploadResult\$status, and size.
ILIAS\FileUpload\DTO\UploadResult::getMetaData | ( | ) |
Definition at line 112 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$metaData.
Referenced by ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
ILIAS\FileUpload\DTO\UploadResult::getMimeType | ( | ) |
Definition at line 102 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$mimeType.
Referenced by ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
ILIAS\FileUpload\DTO\UploadResult::getName | ( | ) |
Definition at line 82 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$name.
Referenced by ILIAS\FileUpload\FileUploadImpl\moveOneFileTo(), ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
ILIAS\FileUpload\DTO\UploadResult::getPath | ( | ) |
Definition at line 132 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$path.
Referenced by ILIAS\FileUpload\FileUploadImpl\moveOneFileTo().
ILIAS\FileUpload\DTO\UploadResult::getSize | ( | ) |
Definition at line 92 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$size.
Referenced by ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithCopyError(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
ILIAS\FileUpload\DTO\UploadResult::getStatus | ( | ) |
Definition at line 122 of file UploadResult.php.
References ILIAS\FileUpload\DTO\UploadResult\$status.
Referenced by ILIAS\FileUpload\FileUploadImpl\moveOneFileTo(), and ILIAS\FileUpload\FileUploadImpl\regenerateUploadResultWithPath().
|
private |
Definition at line 38 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getMetaData().
|
private |
Definition at line 34 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getMimeType().
|
private |
Definition at line 26 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getName().
|
private |
Definition at line 46 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getPath().
|
private |
Definition at line 30 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getSize().
|
private |
Definition at line 42 of file UploadResult.php.
Referenced by ILIAS\FileUpload\DTO\UploadResult\__construct(), and ILIAS\FileUpload\DTO\UploadResult\getStatus().