|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
This class handles news subscriptions of users. More...
Collaboration diagram for ilNewsSubscription:Static Public Member Functions | |
| static | _subscribe ($a_ref_id, $a_user_id) |
| Subscribe a user to an object (ref id). More... | |
| static | _unsubscribe ($a_ref_id, $a_user_id) |
| Unsubscribe a user from an object (ref id). More... | |
| static | _hasSubscribed ($a_ref_id, $a_user_id) |
| Check whether user has subscribed to an object. More... | |
| static | _getSubscriptionsOfUser ($a_user_id) |
| Get subscriptions of user. More... | |
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 83 of file class.ilNewsSubscription.php.
References $DIC, $ilDB, and $query.
Referenced by ilNewsItem\_getNewsItemsOfUser().
Here is the caller graph for this function:
|
static |
Check whether user has subscribed to an object.
| int | $a_ref_id | ref id |
| int | $a_user_id | user id |
Definition at line 59 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.
Referenced by ilNewsForContextBlockGUI\subscribeNews().
Here is the caller graph for this function:
|
static |
Unsubscribe a user from 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\unsubscribeNews().
Here is the caller graph for this function: