bits_to_privilege (line
408)
Given a bit mask of the privileges, will return an array of the text values of privileges.
mixed
bits_to_privilege
(integer $raw_bits)
-
integer
$raw_bits: A bit mask of the privileges.
ConstructURL (line
278)
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
346)
Convert a date into ISO format into the sparkly new ISO format.
void
DateToISODate
(string $indate)
-
string
$indate: The date to convert
DeconstructURL (line
306)
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
17)
void
early_exception_handler
( $exception)
getStatusMessage (line
221)
Return the HTTP status code description for a given code. Hopefully this is an efficient way to code this.
string
getStatusMessage
( $status)
getUserByID (line
199)
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
174)
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
337)
Convert a date from ISO format into the sad old HTTP format.
void
ISODateToHTTPDate
(string $isodate)
-
string
$isodate: The date to convert
privilege_to_bits (line
358)
void
privilege_to_bits
( $raw_privs)