1: <?php
2: /**
3: * The interface of the query for active sync settings.
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: * The interface of the query for active sync settings.
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_List_Query_ActiveSync
31: extends Horde_Kolab_Storage_List_Query
32: {
33: /**
34: * Returns the active sync settings.
35: *
36: * @param string $folder The folder name.
37: *
38: * @return array The folder active sync parameters.
39: */
40: public function getActiveSync($folder);
41:
42: /**
43: * Set the active sync settings.
44: *
45: * @param string $folder The folder name.
46: * @param array $data The active sync settings.
47: *
48: * @return string The encoded share parameters.
49: */
50: public function setActiveSync($folder, array $data);
51: }