File/inc/always.php

Description
Includes
 include_once ("/etc/davical/config.php") (line 72)
 include_once ("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php") (line 69)
 include_once ("../config/config.php") (line 75)
 include_once ("davical_configuration_missing.php") (line 78)
 include_once ("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") (line 66)

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

Force the domain name to what was in the configuration file

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

Construct a URL from the supplied dav_name

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

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

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

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 Tue, 18 Nov 2008 18:33:27 +1300 by phpDocumentor 1.3.2