1: <?php
2: /**
3: * The provider definition.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_FreeBusy
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_FreeBusy
12: */
13:
14: /**
15: * The provider definition.
16: *
17: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
18: *
19: * See the enclosed file COPYING for license information (LGPL). If
20: * you did not receive this file, see
21: * http://www.horde.org/licenses/lgpl21.
22: *
23: * @category Kolab
24: * @package Kolab_FreeBusy
25: * @author Gunnar Wrobel <wrobel@pardus.de>
26: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
27: * @link http://pear.horde.org/index.php?package=Kolab_FreeBusy
28: */
29: interface Horde_Kolab_FreeBusy_Provider
30: {
31: /**
32: * Trigger a resource.
33: *
34: * @param Horde_Controller_Response $response The response handler.
35: * @param array $params Additional parameters.
36: *
37: * @return NULL
38: */
39: public function trigger(
40: Horde_Controller_Response $response,
41: $params = array()
42: );
43:
44: /**
45: * Fetch data for an owner.
46: *
47: * @param Horde_Controller_Response $response The response handler.
48: * @param array $params Additional parameters.
49: *
50: * @return NULL
51: */
52: public function fetch(
53: Horde_Controller_Response $response,
54: $params = array()
55: );
56:
57: /**
58: * Delete data of an owner.
59: *
60: * @param Horde_Controller_Response $response The response handler.
61: * @param array $params Additional parameters.
62: *
63: * @return NULL
64: */
65: public function delete(
66: Horde_Controller_Response $response,
67: $params = array()
68: );
69:
70: /**
71: * Regenerate all data accessible to the current user.
72: *
73: * @param Horde_Controller_Response $response The response handler.
74: * @param array $params Additional parameters.
75: *
76: * @return NULL
77: */
78: public function regenerate(
79: Horde_Controller_Response $response,
80: $params = array()
81: );
82: }