Upload
Table of Contents
Classes
- AttachmentFilePolicy
- Policy for advert attachments (Bazaar / Comcat), which are written to the public webroot
(`www/modules/{bazaar,comcat}/files/items/...`) with an extension taken from the file name.
- DropzoneTempCleaner
- Cleans up dropzone temporary folders (`temp/dropzone/<subDir>/Y/m/d/<token>/`).
- DropzoneTempRoot
- The single place that builds the root of the dropzone temporary folders (`<appTempDir>/dropzone`).
- ImageUploadPolicy
- Single policy for raster images from a user: the front form (avatar), the dropzone and the Api
(gallery via {@see \App\UI\Api\System\Models\Helpers\Assets\Processors\RasterImageProcessor},
avatar via {@see \App\Core\Traits\Api\Models\Managers\AssetTrait}).
- ImageUploadSizeLimit
- Upper size limit of an uploaded advert image (adverts, company catalog).
- UploadedItem
- The single reader of an uploaded item's content on the Api side.
- UploadRejection
- Reasons why the Api did not store a newly uploaded item (gallery image, attachment).