\Horde_Kolab_Server_Composite

A simple composition of server functionality.

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()
__get()
connect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_server
$_structure
$_search
$_objects
$_schema
N/A

Properties

Methods

__construct()

__construct(\Horde_Kolab_Server_Interface  $server, \Horde_Kolab_Server_Objects_Interface  $objects, \Horde_Kolab_Server_Structure_Interface  $structure, \Horde_Kolab_Server_Search_Interface  $search, \Horde_Kolab_Server_Schema_Interface  $schema) 

Construct a new Horde_Kolab_Server object.

Parameters

\Horde_Kolab_Server_Interface $server
\Horde_Kolab_Server_Objects_Interface $objects
\Horde_Kolab_Server_Structure_Interface $structure
\Horde_Kolab_Server_Search_Interface $search
\Horde_Kolab_Server_Schema_Interface $schema

__get()

__get(string  $key) : mixed

Retrieve an object attribute.

Parameters

string $key

The name of the attribute.

Throws

\Horde_Kolab_Server_Exception

If the attribute does not exist.

Returns

mixed —

The atribute value.

connect()

connect(string  $user = null, string  $pass = null) : \NULL.

Connect to the server. Use this method if the user name you can provide does not match a GUID. In this case it will be required to map this user name first.

Parameters

string $user

The user name.

string $pass

The password.

Throws

\Horde_Kolab_Server_Exception

If the connection failed.

Returns

\NULL.