1: <?php
2: /**
3: * Marks the response type.
4: *
5: * PHP version 5
6: *
7: * @category Horde
8: * @package Itip
9: * @author Gunnar Wrobel <wrobel@pardus.de>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL
11: * @link http://pear.horde.org/index.php?package=Itip
12: */
13:
14: /**
15: * Marks the response type.
16: *
17: * Copyright 2010 Kolab Systems AG
18: *
19: * See the enclosed file COPYING for license information (LGPL). If you did not
20: * receive this file, see
21: * {@link http://www.horde.org/licenses/lgpl21 LGPL}.
22: *
23: * @category Horde
24: * @package Itip
25: * @author Gunnar Wrobel <wrobel@pardus.de>
26: * @license http://www.horde.org/licenses/lgpl21 LGPL
27: * @link http://pear.horde.org/index.php?package=Itip
28: */
29: interface Horde_Itip_Response_Type
30: {
31: /**
32: * Return the status of the response.
33: *
34: * @return string The status.
35: */
36: public function getStatus();
37:
38: /**
39: * Return the core subject of the response.
40: *
41: * @return string The short subject.
42: */
43: public function getShortSubject();
44:
45: /**
46: * Return the subject of the response without using the comment.
47: *
48: * @return string The subject.
49: */
50: public function getBriefSubject();
51:
52: /**
53: * Return the subject of the response.
54: *
55: * @return string The subject.
56: */
57: public function getSubject();
58:
59: /**
60: * Return an additional message for the response.
61: *
62: * @param boolean $is_update Indicates if the request was an update.
63: *
64: * @return string The message.
65: */
66: public function getMessage($is_update = false);
67: }