ILIAS
Release_3_10_x_branch Revision 61812
|
This class handles news subscriptions of users. More...
Static Public Member Functions | |
static | _subscribe ($a_ref_id, $a_user_id) |
Subscribe a user to an object (ref id). | |
static | _unsubscribe ($a_ref_id, $a_user_id) |
Unsubscribe a user from an object (ref id). | |
static | _hasSubscribed ($a_ref_id, $a_user_id) |
Check whether user has subscribed to an object. | |
static | _getSubscriptionsOfUser ($a_user_id) |
Get subscriptions of user. |
This class handles news subscriptions of users.
Definition at line 33 of file class.ilNewsSubscription.php.
|
static |
Get subscriptions of user.
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 99 of file class.ilNewsSubscription.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilNewsItem\_getNewsItemsOfUser().
|
static |
Check whether user has subscribed to an object.
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 74 of file class.ilNewsSubscription.php.
References DB_FETCHMODE_ASSOC.
|
static |
Subscribe a user to an object (ref id).
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 41 of file class.ilNewsSubscription.php.
Referenced by ilNewsForContextBlockGUI\subscribeNews().
|
static |
Unsubscribe a user from an object (ref id).
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 57 of file class.ilNewsSubscription.php.
Referenced by ilNewsForContextBlockGUI\unsubscribeNews().