PHP Class Horde_Vfs_Horde, horde

Required parameters:
  'horde_base'  Filesystem location of a local Horde installation.
Optional parameters:
  'user'      A valid Horde user name.
  'password'  The user's password.
Copyright 2006-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: Jan Schneider ([email protected])
Inheritance: extends Horde_Vfs_Base
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_registry Horde_Registry Reference to a Horde Registry instance.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
read ( string $path, string $name ) : string Retrieves a file from the VFS.

Protected Methods

Method Description
_connect ( )
_listFolder ( string $path, string | array $filter = null, boolean $dotfiles = true, boolean $dironly = false ) : array Returns an unsorted file list of the specified directory.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array A hash containing connection parameters.

_connect() protected method

protected _connect ( )

_listFolder() protected method

Returns an unsorted file list of the specified directory.
protected _listFolder ( string $path, string | array $filter = null, boolean $dotfiles = true, boolean $dironly = false ) : array
$path string The path of the directory.
$filter string | array Regular expression(s) to filter file/directory name on.
$dotfiles boolean Show dotfiles?
$dironly boolean Show only directories?
return array File list.

read() public method

Retrieves a file from the VFS.
public read ( string $path, string $name ) : string
$path string The pathname to the file.
$name string The filename to retrieve.
return string The file data.

Property Details

$_registry protected_oe property

Reference to a Horde Registry instance.
protected Horde_Registry $_registry
return Horde_Registry