Class dbPrefs

Description

Completely undocumented class - someone document it!

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


	
			
Variable Summary
mixed $dbh
mixed $db_type
mixed $default
mixed $error
mixed $key_field
mixed $table
mixed $user_field
mixed $val_field
Method Summary
dbPrefs dbPrefs ()
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 130)
mixed $db_type = SMDB_UNKNOWN (line 132)
mixed $default = array('theme_default' => 0,
'include_self_reply_all' => 0,
'do_not_reply_to_self' => 1,
'show_html_default' => '0')
(line 136)
mixed $error = NULL (line 131)
mixed $identifier_quote_char = '' (line 134)
mixed $key_field = 'prefkey' (line 127)
mixed $table = 'userprefs' (line 125)
mixed $user_field = 'user' (line 126)
mixed $val_field = 'prefval' (line 128)
Methods
Constructor dbPrefs (line 145)

initialize the default preferences array.

dbPrefs dbPrefs ()
deleteKey (line 313)
void deleteKey ( $user,  $key)
  • $user
  • $key
failQuery (line 273)
void failQuery ([ $res = NULL])
  • $res
fillPrefsCache (line 523)
void fillPrefsCache ( $user)
  • $user
getKey (line 286)
void getKey ( $user,  $key, [ $default = ''])
  • $user
  • $key
  • $default
open (line 162)
void open ()
setKey (line 353)
void setKey ( $user,  $key,  $value)
  • $user
  • $key
  • $value

Documentation generated on Fri, 02 Dec 2016 04:26:53 +0100 by phpDocumentor 1.4.3