PHP 클래스 Sam_Driver_Spamd_Ldap, horde

Requires SpamAssassin patch found at: http://bugzilla.spamassassin.org/show_bug.cgi?id=2205 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])
저자: Neil Sequeira ([email protected])
저자: Jan Schneider ([email protected])
상속: extends Sam_Driver_Spamd_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_ldap Horde_Ldap Handle for the current LDAP connection.

공개 메소드들

메소드 설명
__construct ( string $user, array $params = [] ) Constructor.
retrieve ( ) Retrieves user preferences from the backend.
store ( boolean $defaults = false ) Stores user preferences in the backend.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $user, array $params = [] )
$user string A user name.
$params array Class parameters: - ldap: (Horde_Ldap) An LDAP handle pointing to the directory server. - uid: (string) The user ID attribute name. - basedn: (string) The base DN. - attribute: (string) The storage attribute.

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.

프로퍼티 상세

$_ldap 보호되어 있는 프로퍼티

Handle for the current LDAP connection.
protected Horde_Ldap $_ldap
리턴 Horde_Ldap