PHP Класс 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.
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Vfs_Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_registry Horde_Registry Reference to a Horde Registry instance.

Открытые методы

Метод Описание
__construct ( array $params = [] ) Constructor.
read ( string $path, string $name ) : string Retrieves a file from the VFS.

Защищенные методы

Метод Описание
_connect ( )
_listFolder ( string $path, string | array $filter = null, boolean $dotfiles = true, boolean $dironly = false ) : array Returns an unsorted file list of the specified directory.

Описание методов

__construct() публичный Метод

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

_connect() защищенный Метод

protected _connect ( )

_listFolder() защищенный Метод

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?
Результат array File list.

read() публичный Метод

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.
Результат string The file data.

Описание свойств

$_registry защищенное свойство

Reference to a Horde Registry instance.
protected Horde_Registry $_registry
Результат Horde_Registry