modules/iCals/HTTP_WebDAV_Server_iCal.php
\HTTP_WebDAV_Server_iCal
Package: SugarCRM
Default value
Calendar access using WebDAV
- Parent(s)
- \HTTP_WebDAV_Server_vCal < \HTTP_WebDAV_Server
- Access
- public
Properties

string
$base= '""'
Defaults to webserver document root (set by ServeRequest)
""Details- Type
- string
- Access
- private
- Inherited_from
- \HTTP_WebDAV_Server_vCal::$$base

$publish_key= '""'
inheritedInherited from:
\HTTP_WebDAV_Server_vCal::$$publish_key
Default value
""Details- Type
- n/a
- Inherited_from
- \HTTP_WebDAV_Server_vCal::$$publish_key

$source= '""'
inheritedInherited from:
\HTTP_WebDAV_Server_vCal::$$source
Default value
""Details- Type
- n/a
- Inherited_from
- \HTTP_WebDAV_Server_vCal::$$source

$vcal_focus= ''
inheritedInherited from:
\HTTP_WebDAV_Server_vCal::$$vcal_focus
Details
- Type
- n/a
- Inherited_from
- \HTTP_WebDAV_Server_vCal::$$vcal_focus

$vcal_type= '""'
inheritedInherited from:
\HTTP_WebDAV_Server_vCal::$$vcal_type
Default value
""Details- Type
- n/a
- Inherited_from
- \HTTP_WebDAV_Server_vCal::$$vcal_type
Methods

HTTP_WebDAV_Server_vCal(
)
:
void
inherited
Inherited from:
\HTTP_WebDAV_Server_vCal::HTTP_WebDAV_Server_vCal()

PUT(
array $options
)
:
bool
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $options | array | parameter passing array |
| Type | Description |
|---|---|
| bool | true on success |

ServeICalRequest(
$base
=
false
)
:
voidServe a webdav request
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $base | string |
- Access
- public

ServeRequest(
$base
=
false
)
:
void
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $base | string |
- Access
- public

checkLock(
string $path
)
:
bool
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $path | string | resource path to check for locks |
| Type | Description |
|---|---|
| bool | true on success |

check_auth(
string $type, string $user, string $pass
)
:
bool
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $type | string | HTTP Authentication type (Basic, Digest, ...) |
| $user | string | Username |
| $pass | string | Password |
| Type | Description |
|---|---|
| bool | true on successful authentication |
- Access
- private

http_status(
string $status
)
:
voidset HTTP return status and mirror it in a private header
Parameters
| Name | Type | Description |
|---|---|---|
| $status | string | status code and message |

lock(
array $options
)
:
bool
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $options | array | general parameter passing array |
| Type | Description |
|---|---|
| bool | true on success |