PHP Class Horde_Prefs_Storage_Ldap, horde

Author: Jon Parise ([email protected])
Author: Ben Klang ([email protected])
Author: Michael Slusarz ([email protected])
Author: Heinz Schweiger ([email protected])
Inheritance: extends Horde_Prefs_Storage_Base
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_ldap Horde_Ldap Handle for the current LDAP connection.
$_prefsDN string Current DN holding the preferences.

Public Methods

Method Description
__construct ( string $user, array $params = [] ) Constructor.
get ( $scope_ob )
listScopes ( ) : array Lists all available scopes.
remove ( $scope = null, $pref = null )
store ( $scope_ob )

Method Details

__construct() public method

Constructor.
public __construct ( string $user, array $params = [] )
$user string The username.
$params array Configuration parameters. - 'ldap': (Horde_Ldap) [REQUIRED] The DB instance.

get() public method

public get ( $scope_ob )

listScopes() public method

Lists all available scopes.
public listScopes ( ) : array
return array The list of scopes stored in the backend.

remove() public method

public remove ( $scope = null, $pref = null )

store() public method

public store ( $scope_ob )

Property Details

$_ldap protected_oe property

Handle for the current LDAP connection.
protected Horde_Ldap $_ldap
return Horde_Ldap

$_prefsDN protected_oe property

Current DN holding the preferences.
protected string $_prefsDN
return string