1: <?php
2: /**
3: * Defines the data query for preferences data.
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: * Defines the data query for preferences data.
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: * @since Horde_Kolab_Storage 1.1.0
23: *
24: * @category Kolab
25: * @package Kolab_Storage
26: * @author Gunnar Wrobel <wrobel@pardus.de>
27: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
28: * @link http://pear.horde.org/index.php?package=Kolab_Storage
29: */
30: interface Horde_Kolab_Storage_Data_Query_Preferences
31: extends Horde_Kolab_Storage_Data_Query
32: {
33: /**
34: * Return the preferences for the specified application.
35: *
36: * @param string $application The application.
37: *
38: * @return array The preferences.
39: */
40: public function getApplicationPreferences($application);
41:
42: /**
43: * Return the applications for which preferences exist in the backend.
44: *
45: * @param string $application The application.
46: *
47: * @return array The applications.
48: */
49: public function getApplications();
50: }