Documentation

RackspaceAdapter extends AbstractAdapter
in package
Uses StreamedCopyTrait, NotSupportingVisibilityTrait

Table of Contents

$container  : Container
$pathPrefix  : string|null
$pathSeparator  : string
$prefix  : string
__construct()  : mixed
Constructor.
applyPathPrefix()  : string
Prefix a path.
copy()  : bool
Copy a file.
createDir()  : mixed
{@inheritdoc}
delete()  : mixed
{@inheritdoc}
deleteDir()  : mixed
{@inheritdoc}
getContainer()  : Container
Get the container.
getMetadata()  : mixed
{@inheritdoc}
getMimetype()  : mixed
{@inheritdoc}
getPathPrefix()  : string|null
Get the path prefix.
getSize()  : mixed
{@inheritdoc}
getTimestamp()  : mixed
{@inheritdoc}
getVisibility()  : mixed
Get the visibility of a file.
has()  : mixed
{@inheritdoc}
listContents()  : mixed
{@inheritdoc}
read()  : mixed
{@inheritdoc}
readStream()  : mixed
{@inheritdoc}
removePathPrefix()  : string
Remove a path prefix.
rename()  : mixed
{@inheritdoc}
setPathPrefix()  : void
Set the path prefix.
setVisibility()  : mixed
Set the visibility for a file.
update()  : mixed
{@inheritdoc}
updateStream()  : mixed
{@inheritdoc}
write()  : mixed
{@inheritdoc}
writeStream()  : mixed
{@inheritdoc}
getObject()  : DataObject
Get an object.
getPartialObject()  : DataObject
Get the metadata of an object.
normalizeObject()  : mixed
{@inheritdoc}

Properties

Methods

__construct()

Constructor.

public __construct(Container $container[, string $prefix = null ]) : mixed
Parameters
$container : Container
$prefix : string = null
Return values
mixed

applyPathPrefix()

Prefix a path.

public applyPathPrefix(string $path) : string
Parameters
$path : string
Return values
string

prefixed path

copy()

Copy a file.

public copy(string $path, string $newpath) : bool
Parameters
$path : string
$newpath : string
Return values
bool

createDir()

{@inheritdoc}

public createDir(mixed $dirname, Config $config) : mixed
Parameters
$dirname : mixed
$config : Config
Return values
mixed

delete()

{@inheritdoc}

public delete(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

deleteDir()

{@inheritdoc}

public deleteDir(mixed $dirname) : mixed
Parameters
$dirname : mixed
Return values
mixed

getMetadata()

{@inheritdoc}

public getMetadata(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

getMimetype()

{@inheritdoc}

public getMimetype(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

getPathPrefix()

Get the path prefix.

public getPathPrefix() : string|null
Return values
string|null

path prefix or null if pathPrefix is empty

getSize()

{@inheritdoc}

public getSize(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

getTimestamp()

{@inheritdoc}

public getTimestamp(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

getVisibility()

Get the visibility of a file.

public getVisibility(string $path) : mixed
Parameters
$path : string
Tags
throws
LogicException
Return values
mixed

has()

{@inheritdoc}

public has(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

listContents()

{@inheritdoc}

public listContents([mixed $directory = '' ][, mixed $recursive = false ]) : mixed
Parameters
$directory : mixed = ''
$recursive : mixed = false
Return values
mixed

read()

{@inheritdoc}

public read(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

readStream()

{@inheritdoc}

public readStream(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

removePathPrefix()

Remove a path prefix.

public removePathPrefix(string $path) : string
Parameters
$path : string
Return values
string

path without the prefix

rename()

{@inheritdoc}

public rename(mixed $path, mixed $newpath) : mixed
Parameters
$path : mixed
$newpath : mixed
Return values
mixed

setPathPrefix()

Set the path prefix.

public setPathPrefix(string $prefix) : void
Parameters
$prefix : string
Return values
void

setVisibility()

Set the visibility for a file.

public setVisibility(string $path, string $visibility) : mixed
Parameters
$path : string
$visibility : string
Tags
throws
LogicException
Return values
mixed

update()

{@inheritdoc}

public update(mixed $path, mixed $contents, Config $config) : mixed
Parameters
$path : mixed
$contents : mixed
$config : Config
Return values
mixed

updateStream()

{@inheritdoc}

public updateStream(mixed $path, mixed $resource, Config $config) : mixed
Parameters
$path : mixed
$resource : mixed
$config : Config
Return values
mixed

write()

{@inheritdoc}

public write(mixed $path, mixed $contents, Config $config) : mixed
Parameters
$path : mixed
$contents : mixed
$config : Config
Return values
mixed

writeStream()

{@inheritdoc}

public writeStream(mixed $path, mixed $resource, Config $config) : mixed
Parameters
$path : mixed
$resource : mixed
$config : Config
Return values
mixed

Search results