computeHashDirs (line
119)
Helper function for getHashDir which does the actual hash calculation.
array
computeHashDirs
(string $username)
-
string
$username: username the username to calculate the hash dir for
Helper function for getHashedFile, given a username returns the hashed dir for that username.
the
getHashedDir
(string $username, string $dir, [string $hash_dirs = ''])
-
string
$username: username the username of the current user
-
string
$dir: dir the SquirrelMail datadir
-
string
$hash_dirs: hash_dirs default ''
Given a username and datafilename, this will return the path to the hashed location of that datafile.
string
getHashedFile
(string $username, string $dir, string $datafile, [bool $hash_search = true])
-
string
$username: username the username of the current user
-
string
$dir: dir the SquirrelMail datadir
-
string
$datafile: datafile the name of the file to open
-
bool
$hash_search: hash_seach default true