This class provides an access to the uploaded file itself and its additional data.
The following tables list the members exposed by the UploadedFile type.
Name | Description | |
---|---|---|
![]() |
getAngle() | Gets rotation angle of the uploaded file (measured in degrees clockwise). |
![]() |
getDescription() | Gets user-provided description of the uploaded file. |
![]() |
getExif($key) | Gets EXIF metadata field with the specified key. Keys to access metadata fields should be specified for upload using the setExtractExif($value) property of the ImageUploader class. |
![]() |
getFileCount() | Gets number of uploaded files. |
![]() |
getFileIndex() | Gets index of the uploaded file. |
![]() |
getFirstUploaded() | Indicates if the uploaded file was sent first. |
![]() |
getIptc($key) | Gets IPTC metadata field with the specified key. Keys to access metadata fields should be specified for upload using the setExtractIptc($value) property of the ImageUploader class. |
![]() |
getOriginalFileName() | Gets a name of the original file. |
![]() |
getPackageCount() | Gets total number of packages in the current upload session. |
![]() |
getPackageGuid() | Gets unique identifier of the current upload session. |
![]() |
getPackageIndex() | Gets zero-based index of the package (i.e. request) inside the current upload session. |
![]() |
getRelativeFilePath() | Gets a relative path to the uploaded file. |
![]() |
getSourceFile() | Gets a SourceFileInfo which represents the uploaded source file. |
![]() |
getThumbnail($index) | Gets a ThumbnailFileInfo with the specified index. The index of thumbnail item is one-based. |