Share
in package
Generates test database connectors.
Copyright 2011-2021 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.
Tags
Table of Contents
- $injector : Injector
- The injector.
- __construct() : mixed
- Constructor.
- create() : Horde_Share_Sqlng
- Create a SQL next generate share setup.
- createKolab() : Horde_Share_Sqlng
- Create a Kolab share setup.
- _createShares() : mixed
- Create the share handler.
Properties
$injector
The injector.
private
Injector
$injector
Methods
__construct()
Constructor.
public
__construct(Injector $injector) : mixed
Parameters
- $injector : Injector
-
The injector.
Return values
mixed —create()
Create a SQL next generate share setup.
public
create([array<string|int, mixed> $params = [] ]) : Horde_Share_Sqlng
Parameters
- $params : array<string|int, mixed> = []
-
Additional options.
'app' - (string) The application name. 'user' - (string) The current user.
Return values
Horde_Share_Sqlng —The share setup.
createKolab()
Create a Kolab share setup.
public
createKolab(array<string|int, mixed> $params) : Horde_Share_Sqlng
Parameters
- $params : array<string|int, mixed>
-
Additional options.
'app' - (string) The application name. 'user' - (string) The current user.
Return values
Horde_Share_Sqlng —The share setup.
_createShares()
Create the share handler.
private
_createShares(string $class, array<string|int, mixed> $params) : mixed
Parameters
- $class : string
-
Class name of the share handler.
- $params : array<string|int, mixed>
-
Additional options.
Return values
mixed —The share handler.