Documentation

Horde_Itip_Response_Vtodo extends Horde_Itip_Response
in package

Handles Itip response data for vTodo.

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.

Tags
category

Horde

author

Mike Cochrane mike@graftonhall.co.nz

author

Chuck Hagenbuch chuck@horde.org

author

Steffen Hansen steffen@klaralvdalens-datakonsult.se

author

Gunnar Wrobel wrobel@pardus.de

author

Michael J Rubinsky mrubinsk@horde.org

license

http://www.horde.org/licenses/lgpl21 LGPL

todo

For H6, look at protected/private visibility of parent class' methods and properties. Needed to provide duplicated methods, like _construct due to private members. Might be able to combine classes once type hints are fixed/changed in the Horde_Itip_Event* classes.

Table of Contents

$_request  : Horde_Itip_Event_Vtodo
The request we are going to answer.
$_resource  : Horde_Itip_Resource
The requested resource.
__construct()  : mixed
Constructor.
getIcalendar()  : Horde_Icalendar
Return the response as an iCalendar object.
getMessage()  : array<string|int, mixed>
Return the response as a MIME message.
getMultiPartMessage()  : array<string|int, mixed>
Return the response as a MIME message.
getRequest()  : Horde_Itip_Event
Return the original request.
getVevent()  : Horde_Icalendar_Vtodo
Return the response as an iCalendar vTodo object.
_setIcsFilename()  : mixed

Properties

Methods

getMessage()

Return the response as a MIME message.

public getMessage(Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options) : array<string|int, mixed>
Parameters
$type : Horde_Itip_Response_Type

The response type.

$options : Horde_Itip_Response_Options

The options for the response.

Tags
todo

I tried to abstract just the .ics filename, but due to private members in the parent class, must override the entire method here.

Return values
array<string|int, mixed>

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

getVevent()

Return the response as an iCalendar vTodo object.

public getVevent(Horde_Itip_Response_Type $type[, Horde_Icalendar|bool $vCal = false ]) : Horde_Icalendar_Vtodo
Parameters
$type : Horde_Itip_Response_Type

The response type.

$vCal : Horde_Icalendar|bool = false

The parent container or false if not provided.

Tags
todo

Refactor this along with parent class. This method name is confusing, but necessary due to the parent class' method name. It returns a vTodo, not vEvent.

Return values
Horde_Icalendar_Vtodo

The response object.

_setIcsFilename()

protected _setIcsFilename(Horde_Mime_Part &$message) : mixed
Parameters
$message : Horde_Mime_Part
Return values
mixed

Search results