Level51\S3\S3UploadController
Controller for S3 file/upload specific actions.
Used to sign the upload request and handle the actual file creation after successful upload.
Synopsis
class S3UploadController
extends Controller
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- protected void init()
- public string signRequest()
- public string handleFileUpload()
- public mixed removeFile()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions
- $url_handlers
Methods
protected
public
- handleFileUpload() — Handle s3file creation after s3 upload.
- removeFile() — Remove / Delete given file by id.
- signRequest() — Sign the upload request for the given params.