Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • AbstractService
  • CDNService
  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class AbstractService

An abstract base class for common code shared between ObjectStore\Service (container) and ObjectStore\CDNService (CDN containers).

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
Extended by OpenCloud\Common\Service\CatalogService
Extended by OpenCloud\ObjectStore\AbstractService

Direct known subclasses

OpenCloud\ObjectStore\CDNService, OpenCloud\ObjectStore\Service
Abstract
Namespace: OpenCloud\ObjectStore
Located at OpenCloud/ObjectStore/AbstractService.php
Methods summary
public Collection
# listContainers( array $filter = array() )

List all available containers. If called by a CDN service, it returns CDN-enabled; if called by a regular service, normal containers are returned.

List all available containers. If called by a CDN service, it returns CDN-enabled; if called by a regular service, normal containers are returned.

Parameters

$filter
array
$filter

Returns

Collection
public OpenCloud\ObjectStore\Resource\Account
# getAccount( )

Returns

OpenCloud\ObjectStore\Resource\Account
Methods inherited from OpenCloud\Common\Service\CatalogService
__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits()
Methods inherited from OpenCloud\Common\Service\AbstractService
collection(), getClient(), getCurrentNamespace(), getEndpoint(), getNamespaces(), getResources(), resolveResourceClass(), resource(), resourceList(), setClient(), setEndpoint()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants summary
integer MAX_CONTAINER_NAME_LENGTH 256
#
integer MAX_OBJECT_NAME_LEN 1024
#
integer MAX_OBJECT_SIZE 5102410241025
#
Constants inherited from OpenCloud\Common\Service\CatalogService
DEFAULT_URL_TYPE
Properties inherited from OpenCloud\Common\Service\CatalogService
$regionless
Properties inherited from OpenCloud\Common\Service\AbstractService
$client, $endpoint, $namespaces, $resources
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0