/usr/share/php/Horde/Itip/Response/Type/Decline.php is in php-horde-itip 2.0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <?php
/**
* Indicates a declined invitation.
*
* PHP version 5
*
* @category Horde
* @package Itip
* @author Gunnar Wrobel <wrobel@pardus.de>
* @license http://www.horde.org/licenses/lgpl21 LGPL
* @link http://pear.horde.org/index.php?package=Itip
*/
/**
* Indicates a declined invitation.
*
* Copyright 2010 Kolab Systems AG
*
* See the enclosed file COPYING for license information (LGPL). If you did not
* receive this file, see
* {@link http://www.horde.org/licenses/lgpl21 LGPL}.
*
* @category Horde
* @package Itip
* @author Gunnar Wrobel <wrobel@pardus.de>
* @license http://www.horde.org/licenses/lgpl21 LGPL
* @link http://pear.horde.org/index.php?package=Itip
*/
class Horde_Itip_Response_Type_Decline
extends Horde_Itip_Response_Type_Base
{
/**
* Return the status of the response.
*
* @return string The status.
*/
public function getStatus()
{
return 'DECLINED';
}
/**
* Return the abbreviated subject of the response.
*
* @return string The short subject.
*/
public function getShortSubject()
{
return Horde_Itip_Translation::t("Declined");
}
/**
* Return the short message for the response.
*
* @param boolean $is_update Indicates if the request was an update.
*
* @return string The short message.
*/
public function getShortMessage($is_update = false)
{
return $is_update
? Horde_Itip_Translation::t("has declined the update to the following event")
: Horde_Itip_Translation::t("has declined the invitation to the following event");
}
}
|