\S3ContentWriter
- Author: marcus@symbiote.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class S3ContentWriter
extends ContentWriter
{
- // members
- public string $bucket = 'bucket';
- public S3Client $s3Service;
- public string $defaultAcl = 'public-read';
- public $prefix;
- public boolean $hashedNames = false;
Hierarchy
Extends
- ContentWriter
Members
public
- $bucket
- $defaultAcl
—
string
What initial permission should assets be given? - $hashedNames
—
boolean
Should names be hashed by default? - $prefix
—
string
Should this be prefixed in the remote store? - $s3Service — S3Client
Methods
public
- delete()
- nameToId()
- write() — Write content to storage