\Horde_Vfs

VFS API for abstracted file storage and access.

Copyright 2002-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
factory()
No public properties found
QUOTA_METRIC_BYTE
QUOTA_METRIC_KB
QUOTA_METRIC_MB
QUOTA_METRIC_GB
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

QUOTA_METRIC_BYTE

QUOTA_METRIC_BYTE

QUOTA_METRIC_KB

QUOTA_METRIC_KB

QUOTA_METRIC_MB

QUOTA_METRIC_MB

QUOTA_METRIC_GB

QUOTA_METRIC_GB

Methods

factory()

factory(mixed  $driver, array  $params = array()) : \VFS

Attempts to return a concrete instance based on $driver.

Parameters

mixed $driver

The type of concrete subclass to return. This is based on the storage driver ($driver). The code is dynamically included.

array $params

A hash containing any additional configuration or connection parameters a subclass might need.

Throws

\Horde_Vfs_Exception

Returns

\VFS —

The newly created concrete VFS instance.