mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
142 lines
5.3 KiB
HTML
142 lines
5.3 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<!-- template designed by Marco Von Ballmoos -->
|
|
<title>Docs for page caldav-client.php</title>
|
|
<link rel="stylesheet" href="../../media/stylesheet.css" />
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
|
</head>
|
|
<body>
|
|
<div class="page-body">
|
|
|
|
<h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/inc/caldav-client.php</h2>
|
|
|
|
<a name="sec-description"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Description</div>
|
|
<div class="nav-bar">
|
|
<span class="disabled">Description</span> |
|
|
<a href="#sec-classes">Classes</a>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">A Class for connecting to a caldav server</p>
|
|
<ul class="tags">
|
|
<li><span class="field">author:</span> Andrew McMillan <<a href="mailto:debian@mcmillan.net.nz">debian@mcmillan.net.nz</a>></li>
|
|
<li><span class="field">copyright:</span> Andrew McMillan</li>
|
|
<li><span class="field">license:</span> <a href="http://gnu.org/copyleft/gpl.html">GNU GPL v2</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<a name="sec-classes"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Classes</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<span class="disabled">Classes</span>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<table cellpadding="2" cellspacing="0" class="class-table">
|
|
<tr>
|
|
<th class="class-table-header">Class</th>
|
|
<th class="class-table-header">Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding-right: 2em; vertical-align: top; white-space: nowrap">
|
|
<img src="../../media/images/Class.png"
|
|
alt=" class"
|
|
title=" class"/>
|
|
<a href="../../awl/caldav/CalDAVClient.html">CalDAVClient</a>
|
|
</td>
|
|
<td>
|
|
A class for accessing DAViCal via CalDAV, as a client
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a name="sec-functions"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Functions</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<a href="#sec-classes">Classes</a>
|
|
| <span class="disabled">Functions</span>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<a name="function__curl_init_callback" id="function__curl_init_callback"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<img src="../../media/images/Function.png" />
|
|
<span class="method-title">__curl_init_callback</span> (line <span class="line-number">24</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">I bet you find this hard to believe, but having to write this hack really annoys the crap out of me. WTF! Why does PHP/Curl not have a function which simply accepts a string as what the request will contain. Oh no. They only think of "POST" and "PUT a file". Crap.</p>
|
|
<p class="description"><p>So the following PoS code accepts that it will be called, and asked for $length bites of the $fd (which we ignore, because we get it all from the $_...data variable) and so it will eat it's way through the data.</p></p>
|
|
<div class="method-signature">
|
|
<span class="method-result">void</span>
|
|
<span class="method-name">
|
|
__curl_init_callback
|
|
</span>
|
|
(<span class="var-type"></span> <span class="var-name">$data</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type"></span>
|
|
<span class="var-name">$data</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<a name="function__curl_read_callback" id="function__curl_read_callback"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<img src="../../media/images/Function.png" />
|
|
<span class="method-title">__curl_read_callback</span> (line <span class="line-number">34</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">As documented in the comments on this page(!)</p>
|
|
<p class="description"><p>http://nz2.php.net/curl_setopt</p></p>
|
|
<div class="method-signature">
|
|
<span class="method-result">void</span>
|
|
<span class="method-name">
|
|
__curl_read_callback
|
|
</span>
|
|
(<span class="var-type"></span> <span class="var-name">$ch</span>, <span class="var-type"></span> <span class="var-name">$fd</span>, <span class="var-type"></span> <span class="var-name">$length</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type"></span>
|
|
<span class="var-name">$ch</span> </li>
|
|
<li>
|
|
<span class="var-type"></span>
|
|
<span class="var-name">$fd</span> </li>
|
|
<li>
|
|
<span class="var-type"></span>
|
|
<span class="var-name">$length</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="notes" id="credit">
|
|
Documentation generated on Sat, 01 Nov 2008 23:07:40 +1300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
|
|
</p>
|
|
</div></body>
|
|
</html>
|