PHP Class Horde_Core_Factory_Vfs, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Show file Open project: horde/horde

Public Methods

Method Description
create ( string $scope = 'horde', array $params = null ) : Horde_Vfs Returns the VFS instance.
getConfig ( string $name = 'horde' ) : array Returns the VFS driver parameters for the specified backend.

Method Details

create() public method

Returns the VFS instance.
public create ( string $scope = 'horde', array $params = null ) : Horde_Vfs
$scope string The vfs scope to return.
$params array Configuration parameters. If specified this configuration is used instead of the configuration from conf.php.
return Horde_Vfs The VFS object.

getConfig() public method

Returns the VFS driver parameters for the specified backend.
public getConfig ( string $name = 'horde' ) : array
$name string The VFS system name being used.
return array A hash with the VFS parameters; the VFS driver in 'type' and the connection parameters in 'params'.