Class AmazonS3
Amazon S3 PHP class
- S3
- AmazonS3
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Version: 0.5.0-dev
Link: http://undesigned.org.za/2007/10/22/amazon-s3-php-class
Located at components/net/amazon_s3/amazon_s3.php
Methods summary
public
|
#
__construct( string $access_key, string $secret_key, boolean $use_ssl = true )
Constructs a new AmazonS3 component, setting the credentials |
public
boolean
|
#
upload( string $file, string $bucket, string $remote_file_name = null )
Uploads a file to Amazon S3 |
Methods inherited from S3
__getMimeType()
,
__getSignature()
,
copyObject()
,
createDistribution()
,
deleteBucket()
,
deleteDistribution()
,
deleteObject()
,
disableBucketLogging()
,
freeSigningKey()
,
getAccessControlPolicy()
,
getAuthenticatedURL()
,
getBucket()
,
getBucketLocation()
,
getBucketLogging()
,
getDistribution()
,
getHttpUploadPostParams()
,
getObject()
,
getObjectInfo()
,
getSignedCannedURL()
,
getSignedPolicyURL()
,
hasAuth()
,
inputFile()
,
inputResource()
,
invalidateDistribution()
,
listBuckets()
,
listDistributions()
,
listOriginAccessIdentities()
,
putBucket()
,
putObject()
,
putObjectFile()
,
putObjectString()
,
setAccessControlPolicy()
,
setAuth()
,
setBucketLogging()
,
setEndpoint()
,
setExceptions()
,
setProxy()
,
setSSL()
,
setSSLAuth()
,
setSigningKey()
,
updateDistribution()
Magic methods summary
Constants summary
Constants inherited from S3
ACL_AUTHENTICATED_READ
,
ACL_PRIVATE
,
ACL_PUBLIC_READ
,
ACL_PUBLIC_READ_WRITE
,
STORAGE_CLASS_RRS
,
STORAGE_CLASS_STANDARD
Properties summary
Properties inherited from S3
$endpoint
,
$proxy
,
$sslCACert
,
$sslCert
,
$sslKey
,
$useExceptions
,
$useSSL
,
$useSSLValidation