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
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_registry Horde_Registry Reference to a Horde Registry instance.

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

_connect() protected méthode

protected _connect ( )

_listFolder() protected méthode

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?
Résultat array File list.

read() public méthode

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.
Résultat string The file data.

Property Details

$_registry protected_oe property

Reference to a Horde Registry instance.
protected Horde_Registry $_registry
Résultat Horde_Registry