|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilCronFinishUnfinishedTestPasses. More...
Inheritance diagram for ilCronFinishUnfinishedTestPasses:
Collaboration diagram for ilCronFinishUnfinishedTestPasses:Public Member Functions | |
| 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 () | |
| Has cron job any custom setting which can be edited? More... | |
| run () | |
| Run job. More... | |
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... | |
Protected Member Functions | |
| gatherUsersWithUnfinishedPasses () | |
| getTestsFinishAndProcessingTime () | |
| processPasses () | |
| finishPassForUser ($active_id, $obj_id) | |
Protected Member Functions inherited from ilCronJob | |
| checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Protected Attributes | |
| $log | |
| $lng | |
| $db | |
| $obj_data_cache | |
| $now | |
| $unfinished_passes | |
| $test_ids | |
| $test_ending_times | |
| $processLockerFactory | |
Additional Inherited Members | |
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 |
Class ilCronFinishUnfinishedTestPasses.
Definition at line 14 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 228 of file class.ilCronFinishUnfinishedTestPasses.php.
Referenced by processPasses().
Here is the caller graph for this function:
|
protected |
Definition at line 150 of file class.ilCronFinishUnfinishedTestPasses.php.
References $query, $result, and $row.
Referenced by run().
Here is the caller graph for this function:| ilCronFinishUnfinishedTestPasses::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 103 of file class.ilCronFinishUnfinishedTestPasses.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
| ilCronFinishUnfinishedTestPasses::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 108 of file class.ilCronFinishUnfinishedTestPasses.php.
| ilCronFinishUnfinishedTestPasses::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 96 of file class.ilCronFinishUnfinishedTestPasses.php.
References $lng.
| ilCronFinishUnfinishedTestPasses::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 84 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 176 of file class.ilCronFinishUnfinishedTestPasses.php.
References $query, $result, and $row.
Referenced by run().
Here is the caller graph for this function:| ilCronFinishUnfinishedTestPasses::getTitle | ( | ) |
| ilCronFinishUnfinishedTestPasses::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 113 of file class.ilCronFinishUnfinishedTestPasses.php.
| ilCronFinishUnfinishedTestPasses::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 123 of file class.ilCronFinishUnfinishedTestPasses.php.
| ilCronFinishUnfinishedTestPasses::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 118 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 187 of file class.ilCronFinishUnfinishedTestPasses.php.
References $data, $key, $now, and finishPassForUser().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronFinishUnfinishedTestPasses::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 128 of file class.ilCronFinishUnfinishedTestPasses.php.
References $result, gatherUsersWithUnfinishedPasses(), getTestsFinishAndProcessingTime(), processPasses(), and ilCronJobResult\STATUS_OK.
Here is the call graph for this function:
|
protected |
Definition at line 30 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 25 of file class.ilCronFinishUnfinishedTestPasses.php.
Referenced by getDescription(), and getTitle().
|
protected |
Definition at line 20 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 40 of file class.ilCronFinishUnfinishedTestPasses.php.
Referenced by processPasses().
|
protected |
Definition at line 35 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 51 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 46 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 44 of file class.ilCronFinishUnfinishedTestPasses.php.
|
protected |
Definition at line 42 of file class.ilCronFinishUnfinishedTestPasses.php.