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 ()
dbPrefs __construct ()
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 168)

Constructor (PHP4 style, kept for compatibility reasons) initialize the default preferences array.

dbPrefs dbPrefs ()
Constructor __construct (line 146)

Constructor (PHP5 style, required in some future version of PHP) initialize the default preferences array.

dbPrefs __construct ()
deleteKey (line 323)
void deleteKey ( $user,  $key)
  • $user
  • $key
failQuery (line 283)
void failQuery ([ $res = NULL])
  • $res
fillPrefsCache (line 533)
void fillPrefsCache ( $user)
  • $user
getKey (line 296)
void getKey ( $user,  $key, [ $default = ''])
  • $user
  • $key
  • $default
open (line 172)
void open ()
setKey (line 363)
void setKey ( $user,  $key,  $value)
  • $user
  • $key
  • $value

Documentation generated on Mon, 13 Jan 2020 04:24:28 +0100 by phpDocumentor 1.4.3