\RackspaceBucket
Synopsis
class RackspaceBucket
extends CloudBucket
{
- // constants
- const CONTAINER = 'Container';
- const REGION = 'Region';
- const USERNAME = 'Username';
- const API_KEY = 'ApiKey';
- const SERVICE_NET = 'ServiceNet';
- const FORCE_DL = 'ForceDownload';
- // members
- protected Container $container;
- protected $containerName;
- // methods
- public void __construct()
- protected Container getContainer()
- public void put()
- public void delete()
- public void rename()
- public string getContents()
- public string getTemporaryLinkFor()
- public bool checkExists()
- public int getFileSize()
- protected DataObject getFileObjectFor()
Hierarchy
Extends
- CloudBucket
Constants
Name | Value |
---|---|
CONTAINER | 'Container' |
REGION | 'Region' |
USERNAME | 'Username' |
API_KEY | 'ApiKey' |
SERVICE_NET | 'ServiceNet' |
FORCE_DL | 'ForceDownload' |
Members
protected
- $container — \OpenCloud\ObjectStore\Resource\Container
- $containerName — string
Methods
protected
public
- __construct()
- checkExists()
- delete()
- getContents()
- getFileSize()
- getTemporaryLinkFor() — This version just returns a normal link. I'm assuming most buckets will implement this but I want it to be optional.
- put()
- rename()