db_prefs.php
This contains functions for manipulating user preferences stored in a database, accessed though the Pear DB layer.
Database:
The preferences table should have three columns: user char \ primary prefkey char / key prefval blob
CREATE TABLE userprefs (user CHAR(128) NOT NULL DEFAULT '', prefkey CHAR(64) NOT NULL DEFAULT '', prefval BLOB NOT NULL DEFAULT '', primary key (user,prefkey));
Configuration of databasename, username and password is done by using conf.pl or the administrator plugin
| Class | Description |
|---|---|
| dbPrefs | Class used to handle connections to prefs database and operations with preferences |
don't display errors (no code execution in functions/*.php).
will handle error in dbPrefs class.
Documentation generated on Sun, 19 May 2013 04:18:46 +0200 by phpDocumentor 1.4.3