mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-10 23:32:52 -07:00
Update spaces.php
This commit is contained in:
parent
2bc54c72fe
commit
74821d787d
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ class SpacesConnect {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadFile($fileName, $destinationPath = "") {
|
function downloadFile($fileName, $destinationPath) {
|
||||||
$result = $this->client->getObject(array(
|
$result = $this->client->getObject(array(
|
||||||
'Bucket' => $this->space,
|
'Bucket' => $this->space,
|
||||||
'Key' => $fileName,
|
'Key' => $fileName,
|
||||||
|
@ -189,7 +189,7 @@ class SpacesConnect {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function listBucketACL() {
|
function listSpaceACL() {
|
||||||
$acl = $this->client->getBucketAcl([
|
$acl = $this->client->getBucketAcl([
|
||||||
'Bucket' => $this->space,
|
'Bucket' => $this->space,
|
||||||
]);
|
]);
|
||||||
|
@ -197,7 +197,7 @@ class SpacesConnect {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function PutBucketACL($params) {
|
function PutSpaceACL($params) {
|
||||||
$acl = $s3Client->putBucketAcl($params);
|
$acl = $s3Client->putBucketAcl($params);
|
||||||
return $acl;
|
return $acl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue