| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
This class handles news subscriptions of users. More...
 Collaboration diagram for ilNewsSubscription:
 Collaboration diagram for ilNewsSubscription:| 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.
References $query.
Referenced by ilNewsItem\_getNewsItemsOfUser().
 Here is the caller graph for this function:
 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 55 of file class.ilNewsSubscription.php.
References $query.
| 
 | 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:
 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 39 of file class.ilNewsSubscription.php.
Referenced by ilNewsForContextBlockGUI\unsubscribeNews().
 Here is the caller graph for this function:
 Here is the caller graph for this function: