|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Forum notifications. More...
Inheritance diagram for ilForumCronNotification:
Collaboration diagram for ilForumCronNotification:Public Member Functions | |
| __construct () | |
| getId () | |
| Get id. More... | |
| getTitle () | |
| Get title. More... | |
| getDescription () | |
| Get description. More... | |
| getDefaultScheduleType () | |
| Get schedule type. More... | |
| getDefaultScheduleValue () | |
| Get schedule value. More... | |
| hasAutoActivation () | |
| Is to be activated on "installation". More... | |
| hasFlexibleSchedule () | |
| Can the schedule be configured? More... | |
| hasCustomSettings () | |
| keepAlive () | |
| run () | |
| sendCronForumNotification ($res, $notification_type) | |
| existsProviderObject ($post_id) | |
| addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
| activationWasToggled ($a_currently_active) | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
Public Member Functions inherited from ilCronJob | |
| isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
| Is job currently active? More... | |
| getScheduleType () | |
| Get current schedule type (if flexible) More... | |
| getScheduleValue () | |
| Get current schedule value (if flexible) More... | |
| setSchedule ($a_type, $a_value) | |
| Update current schedule (if flexible) More... | |
| getValidScheduleTypes () | |
| Get all available schedule types. More... | |
| getTitle () | |
| Get title. More... | |
| getDescription () | |
| Get description. More... | |
| isManuallyExecutable () | |
| Defines whether or not a cron job can be started manually. More... | |
| hasCustomSettings () | |
| Has cron job any custom setting which can be edited? More... | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| Add custom settings to form. More... | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
| Save custom settings. More... | |
| addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
| Add external settings to form. More... | |
| activationWasToggled ($a_currently_active) | |
| Cron job status was changed. More... | |
| getId () | |
| Get id. More... | |
| hasAutoActivation () | |
| Is to be activated on "installation". More... | |
| hasFlexibleSchedule () | |
| Can the schedule be configured? More... | |
| getDefaultScheduleType () | |
| Get schedule type. More... | |
| getDefaultScheduleValue () | |
| Get schedule value. More... | |
| run () | |
| Run job. More... | |
Data Fields | |
| const | KEEP_ALIVE_CHUNK_SIZE = 25 |
Data Fields inherited from ilCronJob | |
| const | SCHEDULE_TYPE_DAILY = 1 |
| const | SCHEDULE_TYPE_IN_MINUTES = 2 |
| const | SCHEDULE_TYPE_IN_HOURS = 3 |
| const | SCHEDULE_TYPE_IN_DAYS = 4 |
| const | SCHEDULE_TYPE_WEEKLY = 5 |
| const | SCHEDULE_TYPE_MONTHLY = 6 |
| const | SCHEDULE_TYPE_QUARTERLY = 7 |
| const | SCHEDULE_TYPE_YEARLY = 8 |
Static Public Attributes | |
| static | $providerObject = array() |
Protected Member Functions | |
| getRefIdsByObjId ($a_obj_id) | |
| getFirstAccessibleRefIdBUserAndObjId ($a_user_id, $a_obj_id) | |
Protected Member Functions inherited from ilCronJob | |
| checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Protected Attributes | |
| $settings | |
| $logger | |
| $num_sent_messages = 0 | |
Static Protected Attributes | |
| static | $deleted_ids_cache = array() |
| static | $ref_ids_by_obj_id = array() |
| static | $accessible_ref_ids_by_user = array() |
Private Member Functions | |
| addProviderObject ($row) | |
| resetProviderCache () | |
Forum notifications.
Definition at line 13 of file class.ilForumCronNotification.php.
| ilForumCronNotification::__construct | ( | ) |
Definition at line 55 of file class.ilForumCronNotification.php.
References settings().
Here is the call graph for this function:| ilForumCronNotification::activationWasToggled | ( | $a_currently_active | ) |
| bool | $a_currently_active |
Reimplemented from ilCronJob.
Definition at line 565 of file class.ilForumCronNotification.php.
References $DIC.
| ilForumCronNotification::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 580 of file class.ilForumCronNotification.php.
References $DIC, $lng, ilPropertyFormGUI\addItem(), and settings().
Here is the call graph for this function:
|
private |
| $row |
Definition at line 527 of file class.ilForumCronNotification.php.
References $row.
Referenced by sendCronForumNotification().
Here is the caller graph for this function:| ilForumCronNotification::addToExternalSettingsForm | ( | $a_form_id, | |
| array & | $a_fields, | ||
| $a_is_active | |||
| ) |
| int | $a_form_id | |
| array | $a_fields | |
| bool | $a_is_active |
Reimplemented from ilCronJob.
Definition at line 548 of file class.ilForumCronNotification.php.
References $DIC, $lng, and ilAdministrationSettingsFormHandler\FORM_FORUM.
| ilForumCronNotification::existsProviderObject | ( | $post_id | ) |
| $post_id |
Definition at line 516 of file class.ilForumCronNotification.php.
Referenced by sendCronForumNotification().
Here is the caller graph for this function:| ilForumCronNotification::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 79 of file class.ilForumCronNotification.php.
References ilCronJob\SCHEDULE_TYPE_IN_HOURS.
| ilForumCronNotification::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 84 of file class.ilForumCronNotification.php.
| ilForumCronNotification::getDescription | ( | ) |
|
protected |
| int | $a_user_id | |
| int | $a_obj_id |
Definition at line 404 of file class.ilForumCronNotification.php.
References $DIC, and getRefIdsByObjId().
Referenced by sendCronForumNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumCronNotification::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 60 of file class.ilForumCronNotification.php.
Referenced by keepAlive().
Here is the caller graph for this function:
|
protected |
| int | $a_obj_id |
Definition at line 390 of file class.ilForumCronNotification.php.
References ilObject\_getAllReferences().
Referenced by getFirstAccessibleRefIdBUserAndObjId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumCronNotification::getTitle | ( | ) |
| ilForumCronNotification::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 89 of file class.ilForumCronNotification.php.
| ilForumCronNotification::hasCustomSettings | ( | ) |
Reimplemented from ilCronJob.
Definition at line 102 of file class.ilForumCronNotification.php.
| ilForumCronNotification::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 94 of file class.ilForumCronNotification.php.
| ilForumCronNotification::keepAlive | ( | ) |
Definition at line 110 of file class.ilForumCronNotification.php.
References getId(), memory_get_usage, ilCronManager\ping(), and sprintf.
Referenced by run(), and sendCronForumNotification().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 538 of file class.ilForumCronNotification.php.
Referenced by sendCronForumNotification().
Here is the caller graph for this function:| ilForumCronNotification::run | ( | ) |
Reimplemented from ilCronJob.
Definition at line 120 of file class.ilForumCronNotification.php.
References $DIC, $ilDB, $ilSetting, $lng, $res, $result, date, keepAlive(), sendCronForumNotification(), settings(), sprintf, ilCronJobResult\STATUS_NO_ACTION, ilCronJobResult\STATUS_OK, ilForumMailNotification\TYPE_POST_CENSORED, ilForumMailNotification\TYPE_POST_DELETED, ilForumMailNotification\TYPE_POST_NEW, ilForumMailNotification\TYPE_POST_UNCENSORED, ilForumMailNotification\TYPE_POST_UPDATED, and ilForumMailNotification\TYPE_THREAD_DELETED.
Here is the call graph for this function:| ilForumCronNotification::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 603 of file class.ilForumCronNotification.php.
References ilPropertyFormGUI\getInput(), and settings().
Here is the call graph for this function:| ilForumCronNotification::sendCronForumNotification | ( | $res, | |
| $notification_type | |||
| ) |
| $res | |
| $notification_type |
Definition at line 431 of file class.ilForumCronNotification.php.
References $DIC, $i, $ilDB, League\OAuth2\Client\Provider\$provider, $res, $row, addProviderObject(), existsProviderObject(), getFirstAccessibleRefIdBUserAndObjId(), keepAlive(), ilForumAuthorInformationCache\preloadUserObjects(), resetProviderCache(), sprintf, ilForumMailNotification\TYPE_POST_DELETED, and ilForumMailNotification\TYPE_THREAD_DELETED.
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 45 of file class.ilForumCronNotification.php.
|
staticprotected |
Definition at line 35 of file class.ilForumCronNotification.php.
|
protected |
Definition at line 25 of file class.ilForumCronNotification.php.
|
protected |
Definition at line 50 of file class.ilForumCronNotification.php.
|
static |
Definition at line 30 of file class.ilForumCronNotification.php.
|
staticprotected |
Definition at line 40 of file class.ilForumCronNotification.php.
|
protected |
Definition at line 20 of file class.ilForumCronNotification.php.
| const ilForumCronNotification::KEEP_ALIVE_CHUNK_SIZE = 25 |
Definition at line 15 of file class.ilForumCronNotification.php.