File/htdocs/always.php

Description
Includes
 include ('../config/config.php') (line 141)
 include ('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') (line 135)
 include ('/usr/local/etc/davical/config.php') (line 138)
 include ('/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') (line 129)

We use @file_exists because things like open_basedir might noisily deny access which could break DAViCal completely by causing output to start too early.

 include ('config/config.php') (line 144)
 include (davical_configuration_missing.php) (line 147)
 include ('/etc/davical/config.php') (line 132)
 include_once ('AWLUtilities.php') (line 90)
 include_once ('AWLUtilities.php') (line 77)
 require_once ('AwlQuery.php') (line 193)

Force the domain name to what was in the configuration file

 require_once (Principal.php) (line 211)
Constants
DAVICAL_ADDRESSBOOK_MAXPRIV = "1023" (line 357)
DAVICAL_MAXPRIV = "65535" (line 356)

Given a privilege string, or an array of privilege strings, return a bit mask of the privileges.

  • return: A bit mask of the privileges.
Functions
bits_to_privilege (line 409)

Given a bit mask of the privileges, will return an array of the text values of privileges.

  • return: The string (or array of strings) of privilege names
mixed bits_to_privilege (integer $raw_bits, [ $resourcetype = 'resource'])
  • integer $raw_bits: A bit mask of the privileges.
  • $resourcetype
ConstructURL (line 275)

Construct a URL from the supplied dav_name. The URL will be urlencoded, except for any '/' characters in it.

void ConstructURL (string $partial_path, [ $force_script = false])
  • string $partial_path: The part of the path after the script name
  • $force_script
DateToISODate (line 344)

Convert a date into ISO format into the sparkly new ISO format.

void DateToISODate (string $indate, [ $in_utc = false])
  • string $indate: The date to convert
  • $in_utc
DeconstructURL (line 304)

Deconstruct a dav_name from the supplied URL. The dav_name will be urldecoded.

void DeconstructURL ( $url, [ $force_script = false], string $partial_path)
  • string $partial_path: The part of the path after the script name
  • $url
  • $force_script
early_exception_handler (line 20)
void early_exception_handler ( $e)
  • $e
getStatusMessage (line 218)

Return the HTTP status code description for a given code. Hopefully this is an efficient way to code this.

  • return: The text for a give HTTP status code, in english
string getStatusMessage ( $status)
  • $status
ISODateToHTTPDate (line 335)

Convert a date from ISO format into the sad old HTTP format.

void ISODateToHTTPDate (string $isodate)
  • string $isodate: The date to convert
privileges_to_XML (line 456)

Returns the array of privilege names converted into XMLElements

void privileges_to_XML ( $privilege_names, [ &$xmldoc = null])
  • $privilege_names
  • &$xmldoc
privilege_to_bits (line 358)
void privilege_to_bits ( $raw_privs)
  • $raw_privs

Documentation generated on Mon, 24 Oct 2011 20:09:24 +1300 by phpDocumentor 1.4.3