OpenCloud/ObjectStore/ObjectStoreBase.php
Properties
Description
The Object Storage serviceConstants
SWIFT_MAX_OBJECT_SIZE = 5 * 1024 * 1024 * 1024 + 1
Classes
ObjectStoreBase
Description
A base class for common code shared between the ObjectStore and ObjectStoreCDN objectsBecause Service is an abstract class, it cannot be called directly. Provider services such as Rackspace Cloud Servers or OpenStack Swift are each subclassed from Service.
Methods
Container, ContainerList,Container( mixed $cdata = null, ) : \OpenCloud\ObjectStore\ObjectStore\Container
Description
Creates a Container object associated with the ObjectStoreThis is a factory method and should generally be used instead of calling the Container class directly.
Arguments
Name | Type | Description | Default |
---|---|---|---|
$cdata | mixed | (optional) the name of the container (if string) or an object from which to set values |
null |
Return value
Type | Description |
---|---|
\OpenCloud\ObjectStore\ObjectStore\Container |
ContainerList( array $filter = array(), ) : \OpenCloud\ObjectStore\ObjectStore\ContainerList
Description
Returns a Collection of Container objectsThis is a factory method and should generally be used instead of calling the ContainerList class directly.
Arguments
Name | Type | Description | Default |
---|---|---|---|
$filter | array | a list of key-value pairs to pass to the service to filter the results |
array() |
Return value
Type | Description |
---|---|
\OpenCloud\ObjectStore\ObjectStore\ContainerList |