PHP Class Horde_Itip_Response_Vtodo, 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])
Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_Itip_Response
显示文件 Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Itip_Event $request, Horde_Itip_Resource $resource ) Constructor.
getMessage ( 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_Vtodo Return the response as an iCalendar vTodo 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

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.

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 vTodo object.
public getVevent ( Horde_Itip_Response_Type $type, Horde_Icalendar | boolean $vCal = false ) : Horde_Icalendar_Vtodo
$type Horde_Itip_Response_Type The response type.
$vCal Horde_Icalendar | boolean The parent container or false if not provided.
return Horde_Icalendar_Vtodo The response object.