\Horde_Test_Factory_Share

Generates test database connectors.

Copyright 2011-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()
create()
createKolab()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_createShares()
$_injector
N/A

Properties

$_injector

$_injector : \Horde_Injector

The injector.

Type

\Horde_Injector

Methods

__construct()

__construct(\Horde_Injector  $injector) 

Constructor.

Parameters

\Horde_Injector $injector

The injector.

create()

create(array  $params) : \Horde_Share_Sqlng

Create a SQL next generate share setup.

Parameters

array $params

Additional options.

'app' - (string) The application name.
'user' - (string) The current user.

Returns

\Horde_Share_Sqlng —

The share setup.

createKolab()

createKolab(array  $params) : \Horde_Share_Sqlng

Create a Kolab share setup.

Parameters

array $params

Additional options.

'app' - (string) The application name.
'user' - (string) The current user.

Returns

\Horde_Share_Sqlng —

The share setup.

_createShares()

_createShares(string  $class, array  $params) : mixed

Create the share handler.

Parameters

string $class

Class name of the share handler.

array $params

Additional options.

Returns

mixed —

The share handler.