OpenCloud/ObjectStore/ObjectStoreBase.php

Properties

Description

The Object Storage service

Constants

  SWIFT_MAX_OBJECT_SIZE = 5 * 1024 * 1024 * 1024 + 1




Classes

ObjectStoreBase

Properties

 
 
No 
No 

Description

A base class for common code shared between the ObjectStore and ObjectStoreCDN objects
Because 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 ObjectStore
This 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 objects
This 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

Constants

  MAX_CONTAINER_NAME_LEN = 256




  MAX_OBJECT_NAME_LEN = 1024




  MAX_OBJECT_SIZE = SWIFT_MAX_OBJECT_SIZE




Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages