/functions/prefs.php

Description

prefs.php

This contains functions for filebased user prefs locations

Includes
include_once (SM_PATH.'functions/display_messages.php') (line 20)

include this for error messages

require_once (SM_PATH.'functions/global.php') (line 16)

Include global.php

require_once (SM_PATH.$prefs_backend) (line 40)
require_once (SM_PATH.'functions/file_prefs.php') (line 44)
require_once (SM_PATH.'functions/db_prefs.php') (line 42)
require_once (SM_PATH.'functions/plugin.php') (line 17)
Functions
computeHashDirs (line 146)

Helper function for getHashDir which does the actual hash calculation.

  • return: a list of hash dirs for this username
array computeHashDirs (mixed $username)
getHashedDir (line 109)

Helper function for getHashedFile, given a username returns the hashed dir for that username.

  • return: path to the hash dir for username
the getHashedDir (mixed $username, mixed $dir, [mixed $hash_dirs = ''])
getHashedFile (line 59)

Given a username and datafilename, this will return the path to the hashed location of that datafile.

  • return: the hashed location of datafile
string getHashedFile (mixed $username, mixed $dir, mixed $datafile, [mixed $hash_search = true])

Documentation generated on Sat, 07 Oct 2006 16:33:03 +0300 by phpDocumentor 1.3.0RC6