BASIC
BASIC
Query set identifiers
Adds a set of uncached queries to the list handlers.
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.
$_factory : \Horde_Kolab_Storage_Factory
The factory for generating additional resources.
__construct(\Horde_Kolab_Storage_Factory $factory, array $params = array())
Constructor.
\Horde_Kolab_Storage_Factory | $factory | The factory. |
array | $params | 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. |
addDataQuerySet(\Horde_Kolab_Storage_Data $data, array $params = array()) : NULL
Add the set of data queries.
\Horde_Kolab_Storage_Data | $data | The data. |
array | $params | Additional query parameters. |
_getDataQueryParameters(\Horde_Kolab_Storage_Data $data) : array
Fetch any additional parameters required when creating data queries.
\Horde_Kolab_Storage_Data | $data | The data. |
The parameters for data queries.
_addDataQuery(\Horde_Kolab_Storage_Data $data, string $type, array $params = array()) : NULL
Add a data query.
\Horde_Kolab_Storage_Data | $data | The data. |
string | $type | The query type. |
array | $params | Additional query parameters. |
_createDataQuery(string $name, \Horde_Kolab_Storage_Data $data, array $params = array()) : \Horde_Kolab_Storage_Query
Create the specified data query type.
string | $name | The query name. |
\Horde_Kolab_Storage_Data | $data | The data that should be queried. |
array | $params | Additional parameters provided to the query constructor. |
In case the requested query is not supported.
A query handler.
_createQuery(string $name, mixed $data, array $params = array()) : \Horde_Kolab_Storage_Query
Create the specified query type.
string | $name | The query name. |
mixed | $data | The data that should be queried. |
array | $params | Additional parameters provided to the query constructor. |
In case the requested query is not supported.
A query handler.