PHP Class Horde_Kolab_Storage_QuerySet_Base, horde
Copyright 2011-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Datei anzeigen
Open project: horde/horde
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$_class_map |
array |
The query class map. Override in extending classes. |
|
Public Methods
Method |
Description |
|
__construct ( Horde_Kolab_Storage_Factory $factory, array $params = [] ) |
Constructor. |
|
addDataQuerySet ( Horde_Kolab_Storage_Data $data, array $params = [] ) : null |
Add the set of data queries. |
|
Protected Methods
Method |
Description |
|
_getDataQueryParameters ( Horde_Kolab_Storage_Data $data ) : array |
Fetch any additional parameters required when creating data queries. |
|
Private Methods
Method Details
__construct()
public method
public __construct ( Horde_Kolab_Storage_Factory $factory, array $params = [] ) |
$factory |
Horde_Kolab_Storage_Factory |
The factory. |
$params |
array |
Optional parameters.
- list: Array of list query settings
- queryset [string]: One of the predefined query set
("basic" or "horde")
- myset [string]: A list of query types that should be selected.
- classmap [array] : An array of "type" => "class" mappings.
|
_getDataQueryParameters()
abstract protected method
Fetch any additional parameters required when creating data queries.
abstract protected _getDataQueryParameters ( Horde_Kolab_Storage_Data $data ) : array |
$data |
Horde_Kolab_Storage_Data |
The data. |
return |
array |
The parameters for data queries. |
addDataQuerySet()
public method
Add the set of data queries.
public addDataQuerySet ( Horde_Kolab_Storage_Data $data, array $params = [] ) : null |
$data |
Horde_Kolab_Storage_Data |
The data. |
$params |
array |
Additional query parameters. |
return |
null |
|
Property Details
$_class_map protected_oe property
The query class map. Override in extending classes.
protected array $_class_map |
return |
array |
|