Horde_Itip_Response_Type_Base
in package
implements
Horde_Itip_Response_Type
Basic iTip response type definition.
Copyright 2010 Kolab Systems AG
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see LGPL.
Tags
Interfaces, Classes, Traits and Enums
- Horde_Itip_Response_Type
- Marks the response type.
Table of Contents
- $_comment : string
- An optional comment that should appear in the response subject.
- $_request : Horde_Itip_Event
- The request we are going to answer.
- $_resource : Horde_Itip_Resource
- The invited resource.
- __construct() : mixed
- Constructor.
- getBriefSubject() : string
- Return the subject of the response without using the comment.
- getMessage() : string
- Return an additional message for the response.
- getRequest() : Horde_Itip_Event
- Get the request for this response.
- getSubject() : string
- Return the subject of the response.
- setRequest() : null
- Set the request.
Properties
$_comment
An optional comment that should appear in the response subject.
private
string
$_comment
$_request
The request we are going to answer.
private
Horde_Itip_Event
$_request
$_resource
The invited resource.
private
Horde_Itip_Resource
$_resource
Methods
__construct()
Constructor.
public
__construct(Horde_Itip_Resource $resource[, string $comment = null ]) : mixed
Parameters
- $resource : Horde_Itip_Resource
-
The invited resource.
- $comment : string = null
-
A comment for the subject line.
Return values
mixed —getBriefSubject()
Return the subject of the response without using the comment.
public
getBriefSubject() : string
Return values
string —The subject.
getMessage()
Return an additional message for the response.
public
getMessage([bool $is_update = false ]) : string
Parameters
- $is_update : bool = false
-
Indicates if the request was an update.
Return values
string —The message.
getRequest()
Get the request for this response.
public
getRequest() : Horde_Itip_Event
Tags
Return values
Horde_Itip_Event —The request this instance will respond to.
getSubject()
Return the subject of the response.
public
getSubject() : string
Return values
string —The subject.
setRequest()
Set the request.
public
setRequest(Horde_Itip_Event $request) : null
Parameters
- $request : Horde_Itip_Event
-
The request this instance will respond to.