\Horde_Itip_Response

Handles Itip response data.

Copyright 2002-2017 Horde LLC (http://www.horde.org/) Copyright 2004-2010 Klarälvdalens Datakonsult AB

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see LGPL.

Summary

Methods
Properties
Constants
__construct()
getRequest()
getVevent()
getIcalendar()
getMessage()
getMultiPartMessage()
No public properties found
No constants found
_setIcsFilename()
No protected properties found
N/A
No private methods found
$_request
$_resource
N/A

Properties

$_request

$_request : \Horde_Itip_Event

The request we are going to answer.

Type

\Horde_Itip_Event

Methods

__construct()

__construct(\Horde_Itip_Event  $request, \Horde_Itip_Resource  $resource) 

Constructor.

Parameters

\Horde_Itip_Event $request

The request this instance will respond to.

\Horde_Itip_Resource $resource

The requested resource.

getRequest()

getRequest() : \Horde_Itip_Event

Return the original request.

Returns

\Horde_Itip_Event

The original request.

getVevent()

getVevent(\Horde_Itip_Response_Type  $type, \Horde_Icalendar|boolean  $vCal = false) : \Horde_Icalendar_Vevent

Return the response as an iCalendar vEvent object.

Parameters

\Horde_Itip_Response_Type $type

The response type.

\Horde_Icalendar|boolean $vCal

The parent container or false if not provided.

Returns

\Horde_Icalendar_Vevent —

The response object.

getIcalendar()

getIcalendar(\Horde_Itip_Response_Type  $type, \Horde_Itip_Response_Options  $options) : \Horde_Icalendar

Return the response as an iCalendar object.

Parameters

\Horde_Itip_Response_Type $type

The response type.

\Horde_Itip_Response_Options $options

The options for the response.

Returns

\Horde_Icalendar —

The response object.

getMessage()

getMessage(\Horde_Itip_Response_Type  $type, \Horde_Itip_Response_Options  $options) : array

Return the response as a MIME message.

Parameters

\Horde_Itip_Response_Type $type

The response type.

\Horde_Itip_Response_Options $options

The options for the response.

Returns

array —

A list of two object: The mime headers and the mime message.

getMultiPartMessage()

getMultiPartMessage(\Horde_Itip_Response_Type  $type, \Horde_Itip_Response_Options  $options) : array

Return the response as a MIME message.

Parameters

\Horde_Itip_Response_Type $type

The response type.

\Horde_Itip_Response_Options $options

The options for the response.

Returns

array —

A list of two object: The mime headers and the mime message.

_setIcsFilename()

_setIcsFilename(\Horde_Mime_Part  $message) 

Parameters

\Horde_Mime_Part $message