ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
UploadResult.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\FileUpload\DTO
;
4
5
use
ILIAS\FileUpload\Collection\ImmutableStringMap
;
6
use
ILIAS\FileUpload\ScalarTypeCheckAware
;
7
20
final
class
UploadResult
21
{
22
use
ScalarTypeCheckAware
;
26
private
$name
;
30
private
$size
;
34
private
$mimeType
;
38
private
$metaData
;
42
private
$status
;
46
private
$path
;
47
48
62
public
function
__construct
(
$name
,
$size
,
$mimeType
,
ImmutableStringMap
$metaData
,
ProcessingStatus
$status
,
$path
)
63
{
64
$this->stringTypeCheck(
$name
,
"name"
);
65
$this->stringTypeCheck(
$mimeType
,
"mimeType"
);
66
$this->stringTypeCheck(
$path
,
"path"
);
67
$this->intTypeCheck(
$size
,
"size"
);
68
69
$this->name =
$name
;
70
$this->
size
=
$size
;
71
$this->mimeType =
$mimeType
;
72
$this->metaData =
$metaData
;
73
$this->status =
$status
;
74
$this->path =
$path
;
75
}
76
77
82
public
function
getName
()
83
{
84
return
$this->name
;
85
}
86
87
92
public
function
getSize
()
93
{
94
return
$this->size
;
95
}
96
97
102
public
function
getMimeType
()
103
{
104
return
$this->mimeType
;
105
}
106
107
112
public
function
getMetaData
()
113
{
114
return
$this->metaData
;
115
}
116
117
122
public
function
getStatus
()
123
{
124
return
$this->status
;
125
}
126
127
132
public
function
getPath
()
133
{
134
return
$this->path
;
135
}
136
}
ILIAS\FileUpload\DTO\UploadResult\$size
$size
Definition:
UploadResult.php:30
ILIAS\FileUpload\DTO\ProcessingStatus
Class ProcessingStatus.
Definition:
ProcessingStatus.php:20
ILIAS\FileUpload\DTO\UploadResult\getSize
getSize()
Definition:
UploadResult.php:92
ILIAS\FileUpload\DTO\UploadResult\$name
$name
Definition:
UploadResult.php:26
ILIAS\FileUpload\Collection\ImmutableStringMap
Class ImmutableStringMap.
Definition:
ImmutableStringMap.php:18
ILIAS\FileUpload\DTO\UploadResult\getMetaData
getMetaData()
Definition:
UploadResult.php:112
ImmutableStringMap
ILIAS\FileUpload\DTO\UploadResult\$path
$path
Definition:
UploadResult.php:46
ILIAS\FileUpload\DTO\UploadResult\$status
$status
Definition:
UploadResult.php:42
ScalarTypeCheckAware
ILIAS\FileUpload\DTO\UploadResult\getName
getName()
Definition:
UploadResult.php:82
ILIAS\FileUpload\DTO\UploadResult\$mimeType
$mimeType
Definition:
UploadResult.php:34
ILIAS\FileUpload\DTO\UploadResult
Class UploadResult.
Definition:
UploadResult.php:20
ILIAS\FileUpload\DTO\UploadResult\__construct
__construct($name, $size, $mimeType, ImmutableStringMap $metaData, ProcessingStatus $status, $path)
UploadResult constructor.
Definition:
UploadResult.php:62
ILIAS\FileUpload\DTO\UploadResult\getPath
getPath()
Definition:
UploadResult.php:132
ScalarTypeCheckAware
ILIAS\FileUpload\DTO\UploadResult\$metaData
$metaData
Definition:
UploadResult.php:38
ILIAS\FileUpload\DTO\UploadResult\getStatus
getStatus()
Definition:
UploadResult.php:122
ILIAS\FileUpload\DTO\UploadResult\getMimeType
getMimeType()
Definition:
UploadResult.php:102
size
Set page orientation and size
Definition:
04printing.php:77
ILIAS\FileUpload\DTO
Definition:
Metadata.php:3
src
FileUpload
DTO
UploadResult.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)