More code cleanups - adding phpdoc header to all caldav component parts.

This commit is contained in:
Andrew McMillan 2006-10-11 16:38:53 +13:00
parent d9e86b8e6f
commit 1639f0f1ca
11 changed files with 82 additions and 7 deletions

View File

@ -1,4 +1,13 @@
<?php
/**
* CalDAV Server - main program
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
require_once("always.php");
dbg_error_log( "caldav", " User agent: %s", $_SERVER['HTTP_USER_AGENT'] );
require_once("BasicAuthSession.php");

View File

@ -1,6 +1,6 @@
<?php
/**
* A Class for handling BasicAuthSession data
* A Class for handling HTTP Basic Authentication
*
* @package rscds
* @subpackage BasicAuthSession

View File

@ -1,4 +1,13 @@
<?php
/**
* CalDAV Server - handle DELETE method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("delete", "DELETE method handler");
/**

View File

@ -1,5 +1,13 @@
<?php
/**
* CalDAV Server - handle GET method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("get", "GET method handler");
// The GET method is not sent with any wrapping XML so we simply fetch it

View File

@ -1,5 +1,13 @@
<?php
/**
* CalDAV Server - handle MKCALENDAR method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("MKCALENDAR", "method handler");
dbg_log_array( "MKCOL", 'HEADERS', $raw_headers );

View File

@ -1,5 +1,13 @@
<?php
/**
* CalDAV Server - handle MKCOL method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("MKCOL", "method handler");
dbg_log_array( "MKCOL", 'HEADERS', $raw_headers );

View File

@ -1,4 +1,13 @@
<?php
/**
* CalDAV Server - handle OPTIONS method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("OPTIONS", "method handler");
header( "Content-type: text/plain" );

View File

@ -1,4 +1,13 @@
<?php
/**
* CalDAV Server - handle PROPFIND method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("PROPFIND", "method handler");
require_once("XMLElement.php");

View File

@ -1,5 +1,13 @@
<?php
/**
* CalDAV Server - handle PUT method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("PUT", "method handler");
// The PUT method is not sent with any wrapping XML so we simply store it

View File

@ -1,5 +1,13 @@
<?php
/**
* CalDAV Server - handle REPORT method
*
* @package rscds
* @subpackage caldav
* @author Andrew McMillan <andrew@catalyst.net.nz>
* @copyright Catalyst .Net Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2
*/
dbg_error_log("REPORT", "method handler");
require_once("XMLElement.php");

View File

@ -23,7 +23,6 @@
<item url="inc/caldav-DELETE.php" uploadstatus="1" />
<item url="htdocs/caldav.php" uploadstatus="1" />
<item url="inc/BasicAuthSession.php" uploadstatus="1" />
<item url="inc/session-util.php" uploadstatus="1" />
<item url="debian/" uploadstatus="1" />
<item url="debian/rules" uploadstatus="1" />
<item url="dba/rscds.sql" uploadstatus="1" />