|
ILIAS
release_8 Revision v8.24
|
Manage data for ilMembershipCronNotifications cron job. More...
Collaboration diagram for ilMembershipCronNotificationsData:Public Member Functions | |
| __construct (int $last_run, string $cron_id) | |
| getAggregatedNews () | |
| Get aggregated news. More... | |
| getLikes (int $news_id, int $user_id) | |
| Get likes for a news and user. More... | |
| getComments (int $news_id, int $user_id) | |
| Get comments for a news and user. More... | |
Protected Member Functions | |
| load () | |
| Load. More... | |
| checkMissingNews (int $user_id, int $ref_id, int $news_id) | |
| Get missing news*. More... | |
| loadMissingNews () | |
| Load missing news (news for new likes and/or comments) More... | |
| getObjectsForRefId (int $a_ref_id) | |
| Get subtree object IDs for ref id. More... | |
| ping () | |
| Ping. More... | |
Protected Attributes | |
| Service | $notes |
| int | $last_run_unix |
| string | $last_run_date |
| string | $cron_id |
| ilLogger | $log |
| array | $objects = [] |
| array | $news = [] |
| array | $news_per_user = [] |
| array | $user_news_aggr = [] |
| news array (may include aggregated news which contains news as subitems) More... | |
| array | $likes = [] |
| array | $comments = [] |
| array | $missing_news_per_user = [] |
| array | $missing_news = [] |
| ilAccessHandler | $access |
Manage data for ilMembershipCronNotifications cron job.
Definition at line 30 of file class.ilMembershipCronNotificationsData.php.
| ilMembershipCronNotificationsData::__construct | ( | int | $last_run, |
| string | $cron_id | ||
| ) |
Definition at line 59 of file class.ilMembershipCronNotificationsData.php.
References $cron_id, $DIC, ILIAS\Repository\access(), ilLoggerFactory\getLogger(), and load().
Here is the call graph for this function:
|
protected |
Get missing news*.
Definition at line 219 of file class.ilMembershipCronNotificationsData.php.
References $ref_id.
Referenced by load().
Here is the caller graph for this function:| ilMembershipCronNotificationsData::getAggregatedNews | ( | ) |
Get aggregated news.
Definition at line 297 of file class.ilMembershipCronNotificationsData.php.
References $user_news_aggr.
| ilMembershipCronNotificationsData::getComments | ( | int | $news_id, |
| int | $user_id | ||
| ) |
Get comments for a news and user.
Definition at line 316 of file class.ilMembershipCronNotificationsData.php.
| ilMembershipCronNotificationsData::getLikes | ( | int | $news_id, |
| int | $user_id | ||
| ) |
Get likes for a news and user.
Definition at line 305 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Get subtree object IDs for ref id.
Definition at line 255 of file class.ilMembershipCronNotificationsData.php.
References $DIC.
Referenced by load().
Here is the caller graph for this function:
|
protected |
Load.
Definition at line 76 of file class.ilMembershipCronNotificationsData.php.
References $access, $c, $i, $ref_id, checkMissingNews(), ilMembershipNotifications\getActiveUsersforAllObjects(), getObjectsForRefId(), 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 233 of file class.ilMembershipCronNotificationsData.php.
References $news, $ref_id, and ilNewsItem\queryNewsByIds().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
Definition at line 57 of file class.ilMembershipCronNotificationsData.php.
Referenced by load().
|
protected |
Definition at line 53 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 38 of file class.ilMembershipCronNotificationsData.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 36 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 52 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 39 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 55 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 54 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 41 of file class.ilMembershipCronNotificationsData.php.
Referenced by loadMissingNews().
|
protected |
Definition at line 46 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 32 of file class.ilMembershipCronNotificationsData.php.
|
protected |
Definition at line 40 of file class.ilMembershipCronNotificationsData.php.
|
protected |
news array (may include aggregated news which contains news as subitems)
Definition at line 51 of file class.ilMembershipCronNotificationsData.php.
Referenced by getAggregatedNews().