Class DataObject
Objects are the basic storage entities in Cloud Files. They represent the files and their optional metadata you upload to the system. When you upload objects to Cloud Files, the data is stored as-is (without compression or encryption) and consists of a location (container), the object's name, and any metadata you assign consisting of key/value pairs.
- OpenCloud\Common\Base
-
OpenCloud\ObjectStore\Resource\AbstractResource
-
OpenCloud\ObjectStore\Resource\DataObject
Methods summary
public
|
#
__construct(
Also need to set Container parent and handle pseudo-directories. |
public
|
|
public
|
#
populateFromResponse( Guzzle\Http\Message\Response $response )
Takes a response and stocks common values from both the body and the headers. |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
Guzzle\Http\EntityBody
|
|
public
|
|
public
null|string
|
|
public
|
|
public
mixed
|
|
public
|
|
public
null|string
|
|
public
null|string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Guzzle\Http\Message\Response
|
|
public
|
|
public
Guzzle\Http\Message\Response
|
#
createSymlinkTo( string $destination )
Create a symlink to another named object from this object. Requires this object to be empty. |
public
|
#
createSymlinkFrom( string $source )
Create a symlink to this object from another named object. Requires the other object to either not exist or be empty. |
public
string
|
#
getTemporaryUrl( integer $expires, string $method, boolean $forcePublicUrl = false )
Get a temporary URL for this object. |
public
mixed
|
|
public
boolean|Guzzle\Http\Url
|
Methods inherited from OpenCloud\ObjectStore\Resource\AbstractResource
appendToMetadata()
,
fromResponse()
,
getCdnService()
,
getClient()
,
getMetadata()
,
getService()
,
retrieveMetadata()
,
saveMetadata()
,
setMetadata()
,
stockHeaders()
,
trimHeaders()
,
unsetMetadataItem()
Methods inherited from OpenCloud\Common\Base
__call()
,
checkJsonError()
,
generateUuid()
,
getInstance()
,
getLogger()
,
hasLogger()
,
makeResourceIteratorOptions()
,
setLogger()
,
stripNamespace()
,
toCamel()
,
toUnderscores()
,
url()
Constants summary
string |
METADATA_LABEL
|
#
'Object'
|