|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Cron job for definition for oer harvesting. More...
Inheritance diagram for ilCronOerHarvester:
Collaboration diagram for ilCronOerHarvester:Public Member Functions | |
| __construct () | |
| ilOerHarvester constructor. More... | |
| getTitle () | |
Get title.
| |
| getDescription () | |
Get description.
| |
| getId () | |
Get id.
| |
| hasAutoActivation () | |
Is to be activated on "installation".
| |
| hasFlexibleSchedule () | |
Can the schedule be configured?
| |
| getDefaultScheduleType () | |
Get schedule type.
| |
| getDefaultScheduleValue () | |
Get schedule value.
| |
| hasCustomSettings () | |
Has cron job any custom setting which can be edited?
| |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
| run () | |
Run job.
| |
| addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
| Provide external settings for presentation in MD settings. 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... | |
| getAllScheduleTypes () | |
| Get all available schedule types. More... | |
| getScheduleTypesWithValues () | |
| getValidScheduleTypes () | |
| Returns a collection of all valid schedule types for a specific job. 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 | CRON_JOB_IDENTIFIER = 'meta_oer_harvester' |
| const | DEFAULT_SCHEDULE_VALUE = 1 |
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 |
Private Attributes | |
| $logger = null | |
| $lng = null | |
| $settings = null | |
Additional Inherited Members | |
Protected Member Functions inherited from ilCronJob | |
| checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Cron job for definition for oer harvesting.
Definition at line 11 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::__construct | ( | ) |
ilOerHarvester constructor.
Definition at line 42 of file class.ilCronOerHarvester.php.
References $DIC, ilOerHarvesterSettings\getInstance(), and settings().
Here is the call graph for this function:| ilCronOerHarvester::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 122 of file class.ilCronOerHarvester.php.
References $target, ilMDCopyrightSelectionEntry\_getEntries(), ilPropertyFormGUI\addItem(), and settings().
Here is the call graph for this function:| ilCronOerHarvester::addToExternalSettingsForm | ( | $a_form_id, | |
| array & | $a_fields, | ||
| $a_is_active | |||
| ) |
Provide external settings for presentation in MD settings.
| int | $a_form_id | |
| array | $a_fields | |
| bool | $a_is_active |
Reimplemented from ilCronJob.
Definition at line 202 of file class.ilCronOerHarvester.php.
References $DIC, $lng, and ilAdministrationSettingsFormHandler\FORM_META_COPYRIGHT.
| ilCronOerHarvester::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 97 of file class.ilCronOerHarvester.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
| ilCronOerHarvester::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 105 of file class.ilCronOerHarvester.php.
References DEFAULT_SCHEDULE_VALUE.
| ilCronOerHarvester::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 64 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 72 of file class.ilCronOerHarvester.php.
References CRON_JOB_IDENTIFIER.
| ilCronOerHarvester::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 56 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 81 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 114 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 89 of file class.ilCronOerHarvester.php.
| ilCronOerHarvester::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 185 of file class.ilCronOerHarvester.php.
References $res.
| ilCronOerHarvester::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
| \ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 173 of file class.ilCronOerHarvester.php.
References ilPropertyFormGUI\getInput(), and settings().
Here is the call graph for this function:
|
private |
Definition at line 31 of file class.ilCronOerHarvester.php.
Referenced by addToExternalSettingsForm().
|
private |
Definition at line 26 of file class.ilCronOerHarvester.php.
|
private |
Definition at line 36 of file class.ilCronOerHarvester.php.
| const ilCronOerHarvester::CRON_JOB_IDENTIFIER = 'meta_oer_harvester' |
| string |
Definition at line 16 of file class.ilCronOerHarvester.php.
Referenced by getId().
| const ilCronOerHarvester::DEFAULT_SCHEDULE_VALUE = 1 |
| int |
Definition at line 21 of file class.ilCronOerHarvester.php.
Referenced by getDefaultScheduleValue().