ILIAS
Release_5_0_x_branch Revision 61816
|
Reminders for consultation hours. More...
Public Member Functions | |
getId () | |
Get id. | |
getTitle () | |
Get title. | |
getDescription () | |
Get description. | |
getDefaultScheduleType () | |
Get schedule type. | |
getDefaultScheduleValue () | |
Get schedule value. | |
hasAutoActivation () | |
Is to be activated on "installation". | |
hasFlexibleSchedule () | |
Can the schedule be configured? | |
hasCustomSettings () | |
Has cron job any custom setting which can be edited? | |
run () | |
Run job. | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
Add custom settings to form. | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Save custom settings. | |
Public Member Functions inherited from ilCronJob | |
isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
Is job currently active? | |
getScheduleType () | |
Get current schedule type (if flexible) | |
getScheduleValue () | |
Get current schedule value (if flexible) | |
setSchedule ($a_type, $a_value) | |
Update current schedule (if flexible) | |
getValidScheduleTypes () | |
Get all available schedule types. | |
isManuallyExecutable () | |
Defines whether or not a cron job can be started manually. | |
addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
Add external settings to form. | |
activationWasToggled ($a_currently_active) | |
Cron job status was changed. |
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 |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) |
Reminders for consultation hours.
Definition at line 11 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Add custom settings to form.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 107 of file class.ilConsultationHourCron.php.
References $ilSetting, $lng, ilPropertyFormGUI\addItem(), and ilNumberInputGUI\setMinValue().
ilConsultationHourCron::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 34 of file class.ilConsultationHourCron.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
ilConsultationHourCron::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 39 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 26 of file class.ilConsultationHourCron.php.
References $lng.
ilConsultationHourCron::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 13 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 18 of file class.ilConsultationHourCron.php.
References $lng.
ilConsultationHourCron::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 44 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 54 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 49 of file class.ilConsultationHourCron.php.
ilConsultationHourCron::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 59 of file class.ilConsultationHourCron.php.
References $ilDB, $ilSetting, $query, $res, $result, $row, DB_FETCHMODE_OBJECT, IL_CAL_DATETIME, IL_CAL_DAY, IL_CAL_UNIX, ilCronJobResult\STATUS_NO_ACTION, ilCronJobResult\STATUS_OK, ilCalendarMailNotification\TYPE_BOOKING_REMINDER, and ilTimeZone\UTC.
ilConsultationHourCron::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Save custom settings.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 122 of file class.ilConsultationHourCron.php.
References $ilSetting, and ilPropertyFormGUI\getInput().