File/inc/always.php

Description
Includes
 include_once ("/etc/davical/config.php") (line 77)
 include_once ("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php") (line 74)
 include_once ("../config/config.php") (line 80)
 include_once ("davical_configuration_missing.php") (line 83)
 include_once ("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") (line 71)

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 ("PgQuery.php") (line 125)

Force the domain name to what was in the configuration file

 require_once ("AWLUtilities.php") (line 44)
Functions
ConstructURL (line 243)

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

void ConstructURL (string $partial_path)
  • string $partial_path: The part of the path after the script name
getStatusMessage (line 186)

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 165)

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 144)

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)

Documentation generated on Fri, 10 Apr 2009 23:45:50 +1200 by phpDocumentor 1.3.2