|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Manage data for ilMembershipCronNotifications cron job. More...
Collaboration diagram for ilMembershipCronNotificationsData:Public Member Functions | |
| __construct ($last_run, $cron_id) | |
| getAggregatedNews () | |
| Get aggregated news. More... | |
| getLikes ($news_id, $user_id) | |
| Get likes for a news and user. More... | |
| getComments ($news_id, $user_id) | |
| Get comments for a news and user. More... | |
Protected Member Functions | |
| load () | |
| Load. More... | |
| checkMissingNews ($user_id, $ref_id, $news_id) | |
| Get missing news. More... | |
| loadMissingNews () | |
| Load missing news (news for new likes and/or comments) More... | |
| getObjectsForRefId ($a_ref_id) | |
| Get subtree object IDs for ref id. More... | |
| ping () | |
| Ping. More... | |
Protected Attributes | |
| $last_run | |
| $cron_id | |
| $log | |
| $objects | |
| $news = array() | |
| $news_per_user | |
| $user_news_aggr = array() | |
| $likes = array() | |
| $comments = array() | |
| $missing_news_per_user = array() | |
| $missing_news = array() | |
Manage data for ilMembershipCronNotifications cron job.
Definition at line 11 of file class.ilMembershipCronNotificationsData.php.
| ilMembershipCronNotificationsData::__construct | ( | $last_run, | |
| $cron_id | |||
| ) |
Definition at line 56 of file class.ilMembershipCronNotificationsData.php.
References $cron_id, $DIC, $last_run, ilLoggerFactory\getLogger(), and load().
Here is the call graph for this function:
|
protected |
Get missing news.
| int | $user_id | |
| int | $ref_id | |
| int | $news_id |
Definition at line 223 of file class.ilMembershipCronNotificationsData.php.
Referenced by load().
Here is the caller graph for this function:| ilMembershipCronNotificationsData::getAggregatedNews | ( | ) |
Get aggregated news.
Definition at line 304 of file class.ilMembershipCronNotificationsData.php.
References $user_news_aggr.
| ilMembershipCronNotificationsData::getComments | ( | $news_id, | |
| $user_id | |||
| ) |
Get comments for a news and user.
| int | $news_id | |
| int | $user_id |
Definition at line 331 of file class.ilMembershipCronNotificationsData.php.
| ilMembershipCronNotificationsData::getLikes | ( | $news_id, | |
| $user_id | |||
| ) |
Get likes for a news and user.
| int | $news_id | |
| int | $user_id |
Definition at line 316 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Get subtree object IDs for ref id.
| int |
Definition at line 263 of file class.ilMembershipCronNotificationsData.php.
References $DIC.
Referenced by load().
Here is the caller graph for this function:
|
protected |
Load.
Definition at line 71 of file class.ilMembershipCronNotificationsData.php.
References $c, $i, $n, ilNote\_getAllNotesOfSingleRepObject(), checkMissingNews(), ilMembershipNotifications\getActiveUsersforAllObjects(), getObjectsForRefId(), IL_NOTE_PUBLIC, loadMissingNews(), and ping().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Load missing news (news for new likes and/or comments)
Definition at line 237 of file class.ilMembershipCronNotificationsData.php.
References $n, $news, and ilNewsItem\queryNewsByIds().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Ping.
Definition at line 294 of file class.ilMembershipCronNotificationsData.php.
References ilCronManager\ping().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 45 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 15 of file class.ilMembershipCronNotificationsData.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.ilMembershipCronNotificationsData.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 17 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 49 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 47 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 24 of file class.ilMembershipCronNotificationsData.php.
Referenced by loadMissingNews().
|
protected |
Definition at line 29 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 19 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 35 of file class.ilMembershipCronNotificationsData.php.
Referenced by getAggregatedNews().