Overview

Packages

  • Itip

Classes

  • Horde_Itip
  • Horde_Itip_Event_Vevent
  • Horde_Itip_Exception
  • Horde_Itip_Resource_Base
  • Horde_Itip_Resource_Identity
  • Horde_Itip_Response
  • Horde_Itip_Response_Options_Base
  • Horde_Itip_Response_Options_Horde
  • Horde_Itip_Response_Options_Kolab
  • Horde_Itip_Response_Type_Accept
  • Horde_Itip_Response_Type_Base
  • Horde_Itip_Response_Type_Decline
  • Horde_Itip_Response_Type_Tentative
  • Horde_Itip_Translation

Interfaces

  • Horde_Itip_Event
  • Horde_Itip_Resource
  • Horde_Itip_Response_Options
  • Horde_Itip_Response_Type
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Itip

Handles iTip invitation requests/responses.

Copyright 2010 Klarälvdalens Datakonsult AB

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

Package: Itip
Category: Horde
License: LGPL
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Itip
Located at Horde/Itip.php
Methods summary
public
# __construct( Horde_Itip_Response $response )

Constructor.

Constructor.

Parameters

$response
The iTip response.
public Horde_Icalendar_Vevent
# getVeventResponse( Horde_Itip_Response_Type $type )

Return the response as an iCalendar vEvent object.

Return the response as an iCalendar vEvent object.

Parameters

$type
The response type.

Returns

Horde_Icalendar_Vevent
The response object.
public Horde_Icalendar
# getIcalendarResponse( Horde_Itip_Response_Type $type, string $product_id )

Return the response as an iCalendar object.

Return the response as an iCalendar object.

Parameters

$type
The response type.
$product_id
<p>The ID that should be set as the iCalendar product id.</p>

Returns

Horde_Icalendar
The response object.
public array
# sendSinglepartResponse( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options, Horde_Mail_Transport $transport )

Send the response as a single part MIME message.

Send the response as a single part MIME message.

Parameters

$type
The response type.
$options
The options for the response.
$transport
The mail transport.

Returns

array

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

public null
# sendMultipartResponse( Horde_Itip_Response_Type $type, Horde_Itip_Response_Options $options, Horde_Mail_Transport $transport )

Send the invitation response as a multi part MIME message.

Send the invitation response as a multi part MIME message.

Parameters

$type
The response type.
$options
The options for the response.
$transport
The mail transport.

Returns

null
public static Horde_Itip_Response
# prepareResponse( Horde_Icalendar_Vevent $vevent, Horde_Itip_Resource $resource )

Factory for generating a response object for an iCalendar invitation.

Factory for generating a response object for an iCalendar invitation.

Parameters

$vevent
The iCalendar request.
$resource
The invited resource.

Returns

Horde_Itip_Response
The prepared response.
public static Horde_Itip
# factory( Horde_Icalendar_Vevent $vevent, Horde_Itip_Resource $resource )

Factory for generating an iTip handler for an iCalendar invitation.

Factory for generating an iTip handler for an iCalendar invitation.

Parameters

$vevent
The iCalendar request.
$resource
The invited resource.

Returns

Horde_Itip
The iTip handler.
API documentation generated by ApiGen