\Horde_Kolab_Server_Connection_File

This class provides a persistant class for testing the Kolab Server DB.

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
getRead()
getWrite()
setParams()
clean()
getStoragePath()
No public properties found
No constants found
load()
store()
No protected properties found
N/A
_getFile()
$_ldap
$_file
N/A

Properties

$_ldap

$_ldap : \Horde_Ldap

The LDAP connection handle.

Type

\Horde_Ldap

$_file

$_file : string

The file for storing the database data.

Type

string

Methods

__construct()

__construct(\Horde_Ldap  $ldap) 

Constructor

Parameters

\Horde_Ldap $ldap

The ldap connection.

getRead()

getRead() : mixed

Get the server read connection.

Returns

mixed —

The connection for reading data.

getWrite()

getWrite() : mixed

Get the server write connection.

Returns

mixed —

The connection for writing data.

setParams()

setParams(array  $params) : NULL

Set configuration parameters.

Parameters

array $params

The parameters.

Returns

NULL

clean()

clean() : NULL

Cleans the current state of the database.

Returns

NULL

getStoragePath()

getStoragePath() : string

Returns the path to the storage location of the database.

Returns

string —

The path to the database.

load()

load() : NULL

Load the current state of the database.

Returns

NULL

store()

store() : NULL

Store the current state of the database.

Returns

NULL

_getFile()

_getFile() : NULL

Get the file parameter.

Returns

NULL