ILIAS
Release_4_4_x_branch Revision 61816
|
Forum notifications. More...
Public Member Functions | |
__construct () | |
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 () | |
run () | |
Run job. | |
activationWasToggled ($a_currently_active) | |
Cron job status was changed. | |
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? | |
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. | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
Add custom settings to form. | |
addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
Add external settings to form. |
Protected Member Functions | |
sendMails ($res) | |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) |
Protected Attributes | |
$settings |
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 |
Forum notifications.
Definition at line 12 of file class.ilForumCronNotification.php.
ilForumCronNotification::__construct | ( | ) |
Definition at line 22 of file class.ilForumCronNotification.php.
ilForumCronNotification::activationWasToggled | ( | $a_currently_active | ) |
Cron job status was changed.
bool | $a_currently_active |
Reimplemented from ilCronJob.
Definition at line 269 of file class.ilForumCronNotification.php.
References $ilSetting.
ilForumCronNotification::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 46 of file class.ilForumCronNotification.php.
References ilCronJob\SCHEDULE_TYPE_IN_HOURS.
ilForumCronNotification::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 51 of file class.ilForumCronNotification.php.
ilForumCronNotification::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 39 of file class.ilForumCronNotification.php.
References $lng.
ilForumCronNotification::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 27 of file class.ilForumCronNotification.php.
ilForumCronNotification::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 32 of file class.ilForumCronNotification.php.
References $lng.
ilForumCronNotification::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 56 of file class.ilForumCronNotification.php.
ilForumCronNotification::hasCustomSettings | ( | ) |
Reimplemented from ilCronJob.
Definition at line 69 of file class.ilForumCronNotification.php.
ilForumCronNotification::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 61 of file class.ilForumCronNotification.php.
ilForumCronNotification::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 74 of file class.ilForumCronNotification.php.
References $ilLog, $ilSetting, $lng, $res, $result, sendMails(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
ilForumCronNotification::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 311 of file class.ilForumCronNotification.php.
References ilPropertyFormGUI\getInput().
|
protected |
Definition at line 158 of file class.ilForumCronNotification.php.
References $lng, $ref_id, $res, $row, ilObject\_getAllReferences(), ilForum\_getLanguageInstanceByUsrId(), and ilObjUser\_lookupLogin().
Referenced by run().
|
protected |
Definition at line 17 of file class.ilForumCronNotification.php.