Overview

Packages

  • Kolab
    • Filter
    • Resource

Classes

  • Horde_Kolab_Resource_Epoch
  • Horde_Kolab_Resource_Freebusy
  • Horde_Kolab_Resource_Freebusy_Kolab
  • Horde_Kolab_Resource_Freebusy_Mock
  • Horde_Kolab_Resource_Reply
  • Kolab_Resource
  • Overview
  • Package
  • Class
  • Tree

Class Kolab_Resource

Provides Kolab resource handling

Copyright 2004-2010 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Package: Kolab\Filter
Author: Steffen Hansen steffen@klaralvdalens-datakonsult.se
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/Kolab/Resource.php
Methods summary
public array|PEAR_Error
# _getResourceData( string $sender, string $resource )

Returns the resource policy applying for the given sender

Returns the resource policy applying for the given sender

Parameters

$sender
The sender address
$resource
The resource

Returns

array|PEAR_Error
An array with "cn", "home server" and the policy.
public &
# _getICal( mixed $filename )
public
# _imapConnect( mixed $id )
public
# handleMessage( mixed $fqhostname, mixed $sender, mixed $resource, mixed $tmpfname )
public null
# cleanup( )

Helper function to clean up after handling an invitation

Helper function to clean up after handling an invitation

Returns

null
public
# sendITipReply( string $cn, string $resource, string $itip, integer $type, string $organiser, string $uid, boolean $is_update, mixed $comment = null )

Send an automated reply.

Send an automated reply.

Parameters

$cn
<p>Common name to be used in the iTip response.</p>
$resource
Resource we send the reply for.
$itip
$Horde_Icalendar_Vevent The iTip information.
$type
Type of response.
$organiser
The event organiser.
$uid
The UID of the event.
$is_update
Is this an event update?
$comment
public array
# cleanArray( array $ical_date )

Clear information from a date array.

Clear information from a date array.

Parameters

$ical_date
The array to clear.

Returns

array
The cleaned array.
public string
# iCalDate2Kolab( array $ical_date, string $type = ' ' )

Conveert iCal dates to Kolab format.

Conveert iCal dates to Kolab format.

An all day event must have a dd--mm-yyyy notation and not a yyyy-dd-mmT00:00:00z notation Otherwise the event is shown as a 2-day event --> do not try to convert everything to epoch first

Parameters

$ical_date
The array to convert.
$type
The type of the date to convert.

Returns

string
The converted date.
API documentation generated by ApiGen