OpenCloud/ObjectStore/Service.php

Classes

Service

Properties

 
 
No 
No 

Description

ObjectStore - this defines the object-store (Cloud Files) service.
Usage: $conn = new OpenStack('{URL}', '{SECRET}'); $ostore = new OpenCloud\ObjectStore( $conn, 'service name', 'service region', 'URL type' ); Default values for service name, service region, and urltype can be provided via the global constants RAXSDK_OBJSTORE_NAME, RAXSDK_OBJSTORE_REGION, and RAXSDK_OBJSTORE_URLTYPE.

Methods

CDN, SetTempUrlSecret, __construct,

CDN( ) : n/a

Description

returns the CDN object

Return value

Type Description
n/a n/a

SetTempUrlSecret( string   $secret, ) : \OpenCloud\ObjectStore\HttpResponse

Description

sets the shared secret value for the TEMP_URL

Arguments

Name Type Description Default
$secret string

the shared secret

Return value

Type Description
\OpenCloud\ObjectStore\HttpResponse

__construct(   $connection, string   $serviceName = RAXSDK_OBJSTORE_NAME, string   $serviceRegion = RAXSDK_OBJSTORE_REGION, string   $urltype = RAXSDK_OBJSTORE_URLTYPE, ) : n/a

Description

creates a new ObjectStore object

Arguments

Name Type Description Default
$connection n/a
$serviceName string

the name of the service to use

RAXSDK_OBJSTORE_NAME
$serviceRegion string

the name of the service region to use

RAXSDK_OBJSTORE_REGION
$urltype string

the type of URL to use (usually "publicURL")

RAXSDK_OBJSTORE_URLTYPE

Return value

Type Description
n/a n/a

Properties

$cdn,

  private  $cdn =

This holds the associated CDN object (for Rackspace public cloud) or is NULL otherwise. The existence of an object here is indicative that the CDN service is available.


Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages