a helpful comment

(and a lot of whitespace cleanup)
This commit is contained in:
Florian Schlichting 2016-09-14 23:46:41 +02:00
parent f0c6d94d1a
commit bb8ae530f5
3 changed files with 55 additions and 47 deletions

View File

@ -119,6 +119,7 @@ try {
include('caldav-POST.php'); include('caldav-POST.php');
break; break;
} }
// fall through if POST add member
case 'PUT': case 'PUT':
switch( $request->content_type ) { switch( $request->content_type ) {
case 'text/calendar': case 'text/calendar':

View File

@ -166,6 +166,7 @@ function public_events_only( $user_no, $dav_name ) {
return false; return false;
} }
/** /**
* Get a TZID string from this VEVENT/VTODO/... component if we can * Get a TZID string from this VEVENT/VTODO/... component if we can
* @param vComponent $comp * @param vComponent $comp
@ -180,6 +181,7 @@ function GetTZID( vComponent $comp ) {
return $p->GetParameterValue('TZID'); return $p->GetParameterValue('TZID');
} }
/** /**
* Deliver scheduling requests to attendees * Deliver scheduling requests to attendees
* @param vComponent $ical the VCALENDAR to deliver * @param vComponent $ical the VCALENDAR to deliver
@ -268,6 +270,7 @@ function handle_schedule_request( $ical ) {
$request->DoResponse( 201, 'Created' ); $request->DoResponse( 201, 'Created' );
} }
/** /**
* Deliver scheduling replies to organizer and other attendees * Deliver scheduling replies to organizer and other attendees
* @param vComponent $ical the VCALENDAR to deliver * @param vComponent $ical the VCALENDAR to deliver
@ -678,6 +681,7 @@ function import_collection( $import_content, $user_no, $path, $caldav_context, $
} }
} }
/** /**
* This function will import a whole addressbook * This function will import a whole addressbook
* @param string $vcard_content the vcf file to import * @param string $vcard_content the vcf file to import
@ -773,6 +777,7 @@ EOSQL;
} }
/** /**
* This function will import a whole calendar * This function will import a whole calendar
* @param string $ics_content the ics file to import * @param string $ics_content the ics file to import

View File

@ -209,6 +209,7 @@ function GetItip( VCalendar $vcal, $method, $attendee_value, $clear_attendee_par
return $iTIP; return $iTIP;
} }
/** /**
* Handles sending the iTIP CANCEL messages to each ATTENDEE by the ORGANIZER. * Handles sending the iTIP CANCEL messages to each ATTENDEE by the ORGANIZER.
* @param vCalendar $vcal What's being cancelled. * @param vCalendar $vcal What's being cancelled.
@ -268,6 +269,7 @@ function doItipOrganizerCancel( vCalendar $vcal ) {
return true; return true;
} }
/** /**
* Does the actual processing of the iTIP CANCEL message on behalf of an ATTENDEE, * Does the actual processing of the iTIP CANCEL message on behalf of an ATTENDEE,
* which generally means writing it into the ATTENDEE's default calendar. * which generally means writing it into the ATTENDEE's default calendar.