PHP Класс Sam_Driver_Spamd_Ftp, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Chris Bowlby ([email protected])
Автор: Max Kalika ([email protected])
Автор: Ben Chavet ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Sam_Driver_Spamd_Base
Показать файл Открыть проект

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

Свойство Тип Описание
$_vfs Horde_Vfs_Base VFS instance.

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

Метод Описание
__construct ( string $user, array $params = [] ) Constructor.
retrieve ( ) Retrieves user preferences from the backend.
store ( boolean $defaults = false ) Stores user preferences in the backend.

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

Метод Описание
_parse ( string $config ) : array Parses the file into an option-value-hash.

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

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

Constructor.
public __construct ( string $user, array $params = [] )
$user string A user name.
$params array Class parameters: - vfs: (Horde_Vfs_Base) A VFS handle pointing to the FTP server. - user_prefs: (string) The file with the user preferences, relative to the home directory.

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

Parses the file into an option-value-hash.
protected _parse ( string $config ) : array
$config string The configuration file contents.
Результат array Hash with options and values.

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

Retrieves user preferences from the backend.
public retrieve ( )

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

Stores user preferences in the backend.
public store ( boolean $defaults = false )
$defaults boolean Whether to store the global defaults instead of user options. Unused.

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

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

VFS instance.
protected Horde_Vfs_Base $_vfs
Результат Horde_Vfs_Base