dbPrefsHandles database preferences
Located in /nasmail/functions/db_prefs.php (line 83)
resource
$dbh
= NULL (line 114)
Database connection handle
int
$db_type
= SMDB_UNKNOWN (line 126)
Database type
array
$default
= array('show_html_default' => '0') (line 132)
Defaults
string
$error
= NULL (line 120)
Error buffer
string
$key_field
= 'prefkey' (line 101)
Field used to store preference key
string
$table
= 'userprefs' (line 89)
Table used to store preferences
string
$user_field
= 'user' (line 95)
Field used to store username
string
$val_field
= 'prefval' (line 107)
Field used to store preference value
deleteKey (line 265)
Deletes preference key
Function will stop with fatal error, if database query fails.
failQuery (line 209)
Handles fatal errors
Function stops execution after displaying error message
fillPrefsCache (line 377)
Caches user preferences
Function stops with fatal error, if database query fails.
getKey (line 229)
Gets preference key value
Function uses cached preference data
open (line 140)
Opens database connection
setKey (line 297)
Saves preference key and value
Function will stop with fatal error, if database query fails.
Documentation generated on Sun, 22 Nov 2009 17:36:25 +0200 by phpDocumentor 1.4.3