Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
352 lines (347 sloc) 13 KB
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>Auth_PrefManager</name>
<channel>pear.php.net</channel>
<summary>Preferences management class</summary>
<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&apos;s id - including your own code.</description>
<lead>
<name>Adam Ashley</name>
<user>aashley</user>
<email>php@adamashley.name</email>
<active>yes</active>
</lead>
<lead>
<name>Jon Wood</name>
<user>jellybob</user>
<email>jon@jellybob.co.uk</email>
<active>no</active>
</lead>
<date>2012-05-07</date>
<time>08:31:59</time>
<version>
<release>1.2.2</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
QA release
Bug #19408 package installs files to extra Auth subdir
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<file baseinstalldir="/" md5sum="fd7172e31c831398ed59d99467a267a6" name="/Auth/PrefManager.php" role="php" />
<file baseinstalldir="/" md5sum="790e15722537c5e9de29bfceeb25065e" name="/docs/PM_Example.php" role="php" />
<file baseinstalldir="/" md5sum="1da0c059c59d42fae2a1bc6ee667ca37" name="/tests/setup.php" role="php" />
<file baseinstalldir="/" md5sum="51669dd1ca7f9f54df852739c1fc7559" name="/tests/deleteDefaultPref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="6fed0e67c6f80c431dc1b2a448da4882" name="/tests/deleteDefaultPref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="06ac6dfc6127a8a9566de9107ea9ba03" name="/tests/deleteDefaultPref/pref-exists-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="9a5901b51fb970edfaeef152890e7357" name="/tests/deleteDefaultPref/pref-exists-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="367e74666c22914255fb113ff1fe2696" name="/tests/deleteDefaultPref/pref-notexist-default-exist.phpt" role="data" />
<file baseinstalldir="/" md5sum="165a2b5373b8a4653c41f0ee2aa056f4" name="/tests/deleteDefaultPref/pref-notexist-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="b33f0186d9bfdcf48827926cd1964b59" name="/tests/deletePref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="03cecfbf947017b84c43a858f1e7f32d" name="/tests/deletePref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="fea54d38a14e63f071857031a890f0c3" name="/tests/deletePref/pref-exists-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="38b87db38f57bb73043a5a2af3fc1e12" name="/tests/deletePref/pref-exists-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="59302bc3dff73ce921f9edcf87e1b1dc" name="/tests/deletePref/pref-notexist-default-exist.phpt" role="data" />
<file baseinstalldir="/" md5sum="ce11f05c2821872429bbd17443c7958f" name="/tests/deletePref/pref-notexist-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="069f610b0de0f4bb6f626a68b3b4ccbe" name="/tests/getDefaultPref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="553fed1ecc5b8d701619bd572be07f0d" name="/tests/getDefaultPref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="b2e601342becbd01f06e792f254dc084" name="/tests/getDefaultPref/default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="978bd81e40b33e98ad91bd65fc35c7fb" name="/tests/getDefaultPref/default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="ae50ff9e9fe7c614c1d64bb3ba1a7814" name="/tests/getPref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="85748ba54cfeff9d5bfe318b8f42ab94" name="/tests/getPref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="b2ed8d9ede7c1617998e737bd9b78188" name="/tests/getPref/pref-exists-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="4491dfc10a1647046cc1e3edd1b00f62" name="/tests/getPref/pref-exists-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="306ed9749ee1f7236d5d559bf3839190" name="/tests/getPref/pref-notexist-default-exist.phpt" role="data" />
<file baseinstalldir="/" md5sum="5f3fde71724633bd77d2dc9ef7eaba35" name="/tests/getPref/pref-notexist-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="f9e3b9b313690ac6cb412ab161a6fe37" name="/tests/setDefaultPref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="909f945b3dc05e3af246bacf08708b13" name="/tests/setDefaultPref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="f83199b4105b95f33a087191a8de6622" name="/tests/setDefaultPref/pref-exists-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="74802987da05aa30d4d2931dbd89e111" name="/tests/setDefaultPref/pref-exists-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="3be889b2ec2916493775fcf6382d9051" name="/tests/setDefaultPref/pref-notexist-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="c938a39dd569de6f84a2fd533111228b" name="/tests/setDefaultPref/pref-notexist-default-notexist.phpt" role="data" />
<file baseinstalldir="/" md5sum="421188604f548f96763a565e70967730" name="/tests/setPref/database-error-pear.phpt" role="data" />
<file baseinstalldir="/" md5sum="8c05819ec3a41af5f929ac50ade2cbe9" name="/tests/setPref/database-error.phpt" role="data" />
<file baseinstalldir="/" md5sum="4df57affca7f0eb1a0d14abc61adfd16" name="/tests/setPref/pref-exists-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="ec793262f4c9ee4fcc38298848c48535" name="/tests/setPref/pref-notexist-default-exists.phpt" role="data" />
<file baseinstalldir="/" md5sum="b942f604472b96370e0c5c205f1aec71" name="README" role="data" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.4.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
<package>
<name>DB</name>
<channel>pear.php.net</channel>
<min>1.7.0</min>
</package>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.1</release>
<api>0.1</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2002-12-06</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Preview release for the PEAR-Dev list.
</notes>
</release>
<release>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2002-12-07</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Changed the package and class name to Auth_PrefManager, and the filename to PrefManager.php to comply with PEAR coding standards.
</notes>
</release>
<release>
<version>
<release>0.11</release>
<api>0.11</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2002-12-07</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
First release.
</notes>
</release>
<release>
<version>
<release>0.2.1</release>
<api>0.2.1</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2003-01-16</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Bugfix release: The constructor (and everything else :S) now works.
</notes>
</release>
<release>
<version>
<release>0.2.2</release>
<api>0.2.2</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2003-02-04</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
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.
</notes>
</release>
<release>
<version>
<release>0.2.31</release>
<api>0.2.31</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-03-24</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
no release notes
</notes>
</release>
<release>
<version>
<release>1.0</release>
<api>1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-04-20</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Added a getDefaultPref method.
* Various bug fixes
</notes>
</release>
<release>
<version>
<release>1.0.1</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-04-20</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Added a getDefaultPref method.
* Various bug fixes
</notes>
</release>
<release>
<version>
<release>1.0.3</release>
<api>1.0.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-04-24</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* I missed a set of quotes in the last release, causing empty preferences to be set to &apos;
One day I&apos;ll manage to get the release thing right ;)
</notes>
</release>
<release>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-02-14</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Added support for serializing values before they&apos;re saved in the database, and then unserializing when retrieved.
To use it set the &quot;serialize&quot; option to true.
</notes>
</release>
<release>
<version>
<release>1.1.1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-02-17</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Fixed a bug in the new serialization code, which was preventing non-default values from being unserialized.
</notes>
</release>
<release>
<version>
<release>1.1.2</release>
<api>1.1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-04-29</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* 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.
</notes>
</release>
<release>
<date>2004-06-16</date>
<time>23:30:00</time>
<version>
<release>1.1.3</release>
<api>1.1.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Bugfix release, removing a missed debug echo.
</notes>
</release>
<release>
<date>2005-04-05</date>
<time>00:06:00</time>
<version>
<release>1.1.4</release>
<api>1.1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Bugfix release, submitted patches from the bug tracker.
* Closes #3655
* Closes #2975
* Closes #2512
</notes>
</release>
<release>
<version>
<release>1.2.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-04-08</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
QA Release
Bug #14877 Can&apos;t run unit tests from CVS without configuration
</notes>
</release>
<release>
<version>
<release>1.2.2</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-05-07</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
QA release
Bug #19408 package installs files to extra Auth subdir
</notes>
</release>
</changelog>
</package>