|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct () | |
| getAllInterests ($filter=null) | |
| getInterestsForUser ($user) | |
| getInterestsString ($user) | |
| setInterestsForUser ($user, $interests) | |
Handle user interest functions.
Definition at line 16 of file InterestManager.inc.php.
| InterestManager::__construct | ( | ) |
Constructor.
Definition at line 20 of file InterestManager.inc.php.
| InterestManager::getAllInterests | ( | $filter = null | ) |
Get all interests for all users in the system
| $filter | string |
Definition at line 28 of file InterestManager.inc.php.
References DAORegistry\getDAO().
| InterestManager::getInterestsForUser | ( | $user | ) |
Get user reviewing interests. (Cached in memory for batch fetches.)
| $user | User |
Definition at line 45 of file InterestManager.inc.php.
References DAORegistry\getDAO().
Referenced by getInterestsString().
| InterestManager::getInterestsString | ( | $user | ) |
Returns a comma separated string of a user's interests
| $user | User |
Definition at line 72 of file InterestManager.inc.php.
References getInterestsForUser().
| InterestManager::setInterestsForUser | ( | $user, | |
| $interests | |||
| ) |
Set a user's interests
| $user | User |
| $interests | mixed |
Definition at line 83 of file InterestManager.inc.php.
References DAORegistry\getDAO().