Class dbPrefs

Description

Completely undocumented class - someone document it!

Located in /functions/db_prefs.php (line 91)


	
			
Variable Summary
mixed $dbh
mixed $db_type
mixed $default
mixed $error
mixed $key_field
mixed $table
mixed $user_field
mixed $val_field
Method Summary
void deleteKey ( $user,  $key)
void failQuery ([ $res = NULL])
void fillPrefsCache ( $user)
void getKey ( $user,  $key, [ $default = ''])
void open ()
void setKey ( $user,  $key,  $value)
Variables
mixed $dbh = NULL (line 97)
mixed $db_type = SMDB_UNKNOWN (line 99)
mixed $default = array('theme_default' => 0,
'show_html_default' => '0')
(line 101)
mixed $error = NULL (line 98)
mixed $key_field = 'prefkey' (line 94)
mixed $table = 'userprefs' (line 92)
mixed $user_field = 'user' (line 93)
mixed $val_field = 'prefval' (line 95)
Methods
deleteKey (line 188)
void deleteKey ( $user,  $key)
  • $user
  • $key
failQuery (line 149)
void failQuery ([ $res = NULL])
  • $res
fillPrefsCache (line 285)
void fillPrefsCache ( $user)
  • $user
getKey (line 161)
void getKey ( $user,  $key, [ $default = ''])
  • $user
  • $key
  • $default
open (line 104)
void open ()
setKey (line 211)
void setKey ( $user,  $key,  $value)
  • $user
  • $key
  • $value

Documentation generated on Sat, 22 Nov 2014 04:20:41 +0100 by phpDocumentor 1.4.3