Method |
Description |
|
__construct ( $bucketName, $accessKey, $secretKey, $useSSL = true, $endPoint = 's3.amazonaws.com' ) |
|
|
enableCaching ( string $dir, string $duration ) : void |
Enable caching of files list so S3 doesn't have to be queried on every
request |
|
getBreadcrumb ( string $path = '/' ) : array |
Returns directory data for all levels of the given path to be used when
displaying a breadcrumb. |
|
getFiles ( string $path = '/' ) : array |
Returns list of file objects in the given path |
|
getParent ( string $path = '/' ) : array |
Returns parent directory |
|
getTree ( ) : array |
Build a tree representing the directory structure of the bucket's
contents. |
|