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
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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