ILIAS
Release_4_1_x_branch Revision 61804
|
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 13 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 80 of file class.ilNewsSubscription.php.
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 55 of file class.ilNewsSubscription.php.
|
static |
Subscribe a user to an object (ref id).
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 21 of file class.ilNewsSubscription.php.
References $ilDB.
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 39 of file class.ilNewsSubscription.php.
References $ilDB.
Referenced by ilNewsForContextBlockGUI\unsubscribeNews().