PHP Class Horde_Itip_Response, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) Copyright 2004-2010 Klarälvdalens Datakonsult AB 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}.
Author: Mike Cochrane ([email protected])
Author: Chuck Hagenbuch ([email protected])
Author: Steffen Hansen ([email protected])
Author: Gunnar Wrobel ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Itip_Event $request, Horde_Itip_Resource $resource ) Constructor.
getIcalendar ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : Horde_Icalendar Return the response as an iCalendar object.
getMessage ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : array Return the response as a MIME message.
getMultiPartMessage ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : array Return the response as a MIME message.
getRequest ( ) : Horde_Itip_Event Return the original request.
getVevent ( Horde_Itip_Response_Type $type, Horde_Icalendar | boolean $vCal = false ) : Horde_Icalendar_Vevent Return the response as an iCalendar vEvent object.

Protected Methods

Method Description
_setIcsFilename ( Horde_Mime_Part &$message )

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Itip_Event $request, Horde_Itip_Resource $resource )
$request Horde_Itip_Event The request this instance will respond to.
$resource Horde_Itip_Resource The requested resource.

_setIcsFilename() protected method

protected _setIcsFilename ( Horde_Mime_Part &$message )
$message Horde_Mime_Part

getIcalendar() public method

Return the response as an iCalendar object.
public getIcalendar ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : Horde_Icalendar
$type Horde_Itip_Response_Type The response type.
$options Horde_Itip_Response_Options The options for the response.
return Horde_Icalendar The response object.

getMessage() public method

Return the response as a MIME message.
public getMessage ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : array
$type Horde_Itip_Response_Type The response type.
$options Horde_Itip_Response_Options The options for the response.
return array A list of two object: The mime headers and the mime message.

getMultiPartMessage() public method

Return the response as a MIME message.
public getMultiPartMessage ( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options ) : array
$type Horde_Itip_Response_Type The response type.
$options Horde_Itip_Response_Options The options for the response.
return array A list of two object: The mime headers and the mime message.

getRequest() public method

Return the original request.
public getRequest ( ) : Horde_Itip_Event
return Horde_Itip_Event The original request.

getVevent() public method

Return the response as an iCalendar vEvent object.
public getVevent ( Horde_Itip_Response_Type $type, Horde_Icalendar | boolean $vCal = false ) : Horde_Icalendar_Vevent
$type Horde_Itip_Response_Type The response type.
$vCal Horde_Icalendar | boolean The parent container or false if not provided.
return Horde_Icalendar_Vevent The response object.