PHP Class 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.
ファイルを表示
Open project: horde/horde
Protected Properties
Property |
Type |
Description |
|
$_ldap |
Horde_Ldap |
Handle for the current LDAP connection. |
|
Public Methods
Method |
Description |
|
__construct ( string $user, array $params = [] ) |
Constructor. |
|
retrieve ( ) |
Retrieves user preferences from the backend. |
|
store ( boolean $defaults = false ) |
Stores user preferences in the backend. |
|
Method Details
__construct()
public method
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. |
Retrieves user preferences from the backend.
Stores user preferences in the backend.
public store ( boolean $defaults = false ) |
$defaults |
boolean |
Whether to store the global defaults instead
of user options. Unused. |
Property Details
$_ldap protected_oe property
Handle for the current LDAP connection.
protected Horde_Ldap $_ldap |
return |
Horde_Ldap |
|