Home » Authentication » Auth_PrefManager
Preferences management class
This package is unmaintained.
Download latest release 1.2.2 (archived versions might be outdated)
License: PHP License
Description
Preference Manager is a class to handle user preferences in a web application, looking them up in a table using a combination of their userid, and the preference name to get a value, and (optionally) returning a default value for the preference if no value could be found for that user.
It is designed to be used alongside the PEAR Auth class, but can be used with anything that allows you
to obtain the user's id - including your own code.
Documentation
Maintainers
- Adam Ashley (aashley) — lead, active
- Jon Wood (jellybob) — lead, inactive
Dependencies
Required
- PHP (>= 4.4.0)
- PEAR Installer (>= 1.4.0)
- DB (>= 1.7.0)
Releases
- 1.2.2 (stable, 2012-05-07)
Release notes
License: PHP License
QA release
Bug #19408 package installs files to extra Auth subdir
- 1.2.1 (stable, 2012-04-07)
Release notes
License: PHP License
QA Release
Bug #14877 Can't run unit tests from CVS without configuration
- 1.2.0 (stable, 2007-06-17)
- 1.1.4 (stable, 2005-04-04)
Release notes
License: PHP License
Bugfix release, submitted patches from the bug tracker.
* Closes #3655
* Closes #2975
* Closes #2512 - 1.1.3 (stable, 2004-06-16)
Release notes
License: PHP License
Bugfix release, removing a missed debug echo.
- 1.1.2 (stable, 2004-04-30)
Release notes
License: PHP License
* Stopped using the depracted DB_Common::quote method, and changed to DB_Common::quoteSmart.
* Use DB_Common::quoteIdentifier to make sure that the table and column names are legal. - 1.1.1 (stable, 2004-02-17)
Release notes
License: PHP License
Fixed a bug in the new serialization code, which was preventing non-default values from being unserialized.
- 1.1.0 (stable, 2004-02-14)
Release notes
License: PHP License
Added support for serializing values before they're saved in the database, and then unserializing when retrieved.
To use it set the "serialize" option to true. - 1.0.4 (stable, 2003-11-17)
- 1.0.3 (stable, 2003-04-24)
Release notes
License: PHP License
* I missed a set of quotes in the last release, causing empty preferences to be set to '
One day I'll manage to get the release thing right ;) - 1.0.2 (stable, 2003-04-23)
- 1.0.1 (stable, 2003-04-20)
Release notes
License: PHP License
* Added a getDefaultPref method.
* Various bug fixes - 1.0 (stable, 2003-04-20)
Release notes
License: PHP License
* Added a getDefaultPref method.
* Various bug fixes - 0.2.31 (stable, 2003-03-24)
Release notes
License: PHP License
no release notes
- 0.2.3 (devel, 2003-03-24)
- 0.2.2 (devel, 2003-02-04)
Release notes
License: PHP License
New Feature: You can now choose whether to use the cache or not (Auth_PrefManager::useCache(true|false))
Bugfix: When retrieving a preference it now checks if the query returns any rows, instead of checking the value. - 0.2.1 (devel, 2003-01-16)
Release notes
License: PHP License
Bugfix release: The constructor (and everything else :S) now works.
- 0.2.0 (devel, 2002-12-12)
Release notes
License: PHP License
- Changed the package and class name to Auth_PrefManager, and the filename to PrefManager.php to comply with PEAR coding standards.
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #1416 | Closed | Bug | 2004-05-15 | echo sql query in function getPref | |
| #2512 | Closed | Bug | 2004-10-12 | When using a custom valueColumn no pref ever returned | |
| #2975 | Closed | Bug | 2004-12-16 | is_subclass_of at line 131 warnings | |
| #3655 | Closed | Bug | 2005-03-01 | deleteDefaultPref() return no value instead of true/false | |
| #5588 | No Feedback | Bug | 2005-10-03 | Does not get/set prefs | |
| #9016 | Bogus | Req | 1.1.4 | 2006-10-13 | MDB2 Support |
| #9469 | Closed | Bug | 1.1.4 | 2006-11-26 | Fatal error |
| #11714 | Wont fix | Bug | 1.2.0 | 2007-07-31 | unit tests should use sqlite |
| #14876 | Duplicate | Req | CVS | 2008-10-25 | Allow tests to integrate into pear wide test suite |
| #14877 | Closed | Bug | CVS | 2008-10-25 | Can't run unit tests from CVS without configuration |
| #19408 | Closed | Bug | 1.2.1 | 2012-05-05 | package installs files to extra Auth subdir |
| #20341 | Open | Bug | 1.2.2 | 2014-07-09 | Updating "PEAR_PackageFileManager" PHP Extensions and Applications Package |
| #20342 | Open | Req | 1.2.2 | 2014-07-09 | Net_GeoIP::getInstance() |