File/inc/always.php

Description
Includes
 include_once ("davical_configuration_missing.php") (line 92)
 include_once ("../config/config.php") (line 89)
 include_once ("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") (line 83)

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_once ("/etc/davical/config.php") (line 86)
 include_once ("PgQuery.php") (line 134)

Force the domain name to what was in the configuration file

 require_once ("AWLUtilities.php") (line 54)
Functions
ConstructURL (line 252)

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
getStatusMessage (line 195)

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
getUserByID (line 174)

Return a user record identified by a user_no, caching it for any subsequent lookup

void getUserByID (int $user_no, [boolean $use_cache = true])
  • int $user_no: The ID of the record to retrieve
  • boolean $use_cache: Whether or not to use the cache (default: yes)
getUserByName (line 153)

Return a user record identified by a username, caching it for any subsequent lookup

void getUserByName (string $username, [boolean $use_cache = true])
  • string $username: The username of the record to retrieve
  • boolean $use_cache: Whether or not to use the cache (default: yes)
ISODateToHTTPDate (line 279)

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

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

Documentation generated on Sat, 24 Oct 2009 12:40:37 +1300 by phpDocumentor 1.3.2