mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
More code cleanups - adding phpdoc header to all caldav component parts.
This commit is contained in:
parent
d9e86b8e6f
commit
1639f0f1ca
@ -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");
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* A Class for handling BasicAuthSession data
|
||||
* A Class for handling HTTP Basic Authentication
|
||||
*
|
||||
* @package rscds
|
||||
* @subpackage BasicAuthSession
|
||||
|
||||
@ -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");
|
||||
|
||||
/**
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 );
|
||||
|
||||
@ -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 );
|
||||
|
||||
@ -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" );
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user