9e5f3ca861
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. PR: ports/79556 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
9 lines
494 B
Text
9 lines
494 B
Text
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.
|
|
|
|
WWW: http://pear.php.net/package/Auth_PrefManager/
|