1: <?php
2: /**
3: * Adds a set of uncached queries to the list handlers.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_Storage
9: * @author Gunnar Wrobel <wrobel@pardus.de>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11: * @link http://pear.horde.org/index.php?package=Kolab_Storage
12: */
13:
14: /**
15: * Adds a set of uncached queries to the list handlers.
16: *
17: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
18: *
19: * See the enclosed file COPYING for license information (LGPL). If you
20: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
21: *
22: * @category Kolab
23: * @package Kolab_Storage
24: * @author Gunnar Wrobel <wrobel@pardus.de>
25: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
26: * @link http://pear.horde.org/index.php?package=Kolab_Storage
27: */
28: class Horde_Kolab_Storage_QuerySet_Uncached
29: extends Horde_Kolab_Storage_QuerySet_Base
30: {
31: /**
32: * The query class map.
33: *
34: * @var array
35: */
36: protected $_class_map = array(
37: Horde_Kolab_Storage_List::QUERY_SHARE => 'Horde_Kolab_Storage_List_Query_Share_Base',
38: Horde_Kolab_Storage_List::QUERY_BASE => 'Horde_Kolab_Storage_List_Query_List_Base',
39: Horde_Kolab_Storage_List::QUERY_ACL => 'Horde_Kolab_Storage_List_Query_Acl_Base',
40: Horde_Kolab_Storage_Data::QUERY_PREFS => 'Horde_Kolab_Storage_Data_Query_Preferences_Base',
41: Horde_Kolab_Storage_Data::QUERY_HISTORY => 'Horde_Kolab_Storage_Data_Query_History_Base',
42: );
43:
44: /**
45: * Fetch any additional parameters required when creating list queries.
46: *
47: * @param Horde_Kolab_Storage_List $list The list.
48: *
49: * @return array The parameters for list queries.
50: */
51: protected function _getListQueryParameters(Horde_Kolab_Storage_List $list)
52: {
53: return array();
54: }
55:
56: /**
57: * Fetch any additional parameters required when creating data queries.
58: *
59: * @param Horde_Kolab_Storage_Data $data The data.
60: *
61: * @return array The parameters for data queries.
62: */
63: protected function _getDataQueryParameters(Horde_Kolab_Storage_Data $data)
64: {
65: return array();
66: }
67: }
68:
69: