class S3_CStorage


Located at : UKNOWVA_ROOT/components/com_community/libraries/storage/s3.php

Properties

$accessKey
$secretKey
$s3
$bucket
$useSSL
$name

Methods

_init()

No description

true
exists($storageid, $checkRemote = false)

Check if the given storage id exist. We perform local check via db since checking remotely is time consuming

true
put($storageid, $file)

Put the file into remote storage,

delete($storageid)

No description

get(storageid $storageid, file $file)

Retrive the file from remote location and store it locally

getURI($storageId)

Return the absolute URI path to the resource

Details

at line 20
_init()

at line 36
true exists($storageid, $checkRemote = false)

Check if the given storage id exist. We perform local check via db since checking remotely is time consuming

Parameters

$storageid
$checkRemote

Return Value

true is file exits

at line 46
true put($storageid, $file)

Put the file into remote storage,

Parameters

$storageid
$file

Return Value

true if successful

at line 67
delete($storageid)

Parameters

$storageid

at line 90
get(storageid $storageid, file $file)

Retrive the file from remote location and store it locally

Parameters

storageid $storageid The unique file we want to retrive
file $file String filename where we want to save the file

at line 104
getURI($storageId)

Return the absolute URI path to the resource

Parameters

$storageId