ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilCronDeleteNeverLoggedInUserAccounts. More...
Public Member Functions | |
__construct () | |
ilCronDeleteNeverLoggedInUserAccounts constructor. More... | |
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) | |
saveCustomSettings (\ilPropertyFormGUI $a_form) | |
![]() | |
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 | DEFAULT_CREATION_THRESHOLD = 365 |
![]() | |
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 | |
hasDecimals ($number) | |
![]() | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Protected Attributes | |
$lng | |
$settings | |
$rbacreview | |
$objectDataCache | |
$request | |
Private Attributes | |
$roleIdWhiteliste = '' | |
$thresholdInDays = self::DEFAULT_CREATION_THRESHOLD | |
Class ilCronDeleteNeverLoggedInUserAccounts.
Definition at line 7 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
ilCronDeleteNeverLoggedInUserAccounts::__construct | ( | ) |
ilCronDeleteNeverLoggedInUserAccounts constructor.
Definition at line 35 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
References $DIC, and settings().
ilCronDeleteNeverLoggedInUserAccounts::addCustomSettingsToForm | ( | \ilPropertyFormGUI | $a_form | ) |
Definition at line 209 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
References ilPropertyFormGUI\addItem().
ilCronDeleteNeverLoggedInUserAccounts::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 104 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
ilCronDeleteNeverLoggedInUserAccounts::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 112 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
ilCronDeleteNeverLoggedInUserAccounts::getDescription | ( | ) |
ilCronDeleteNeverLoggedInUserAccounts::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 76 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
ilCronDeleteNeverLoggedInUserAccounts::getTitle | ( | ) |
ilCronDeleteNeverLoggedInUserAccounts::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 120 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
ilCronDeleteNeverLoggedInUserAccounts::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 136 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
protected |
mixed | $number |
Definition at line 277 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
Referenced by saveCustomSettings().
ilCronDeleteNeverLoggedInUserAccounts::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 128 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
ilCronDeleteNeverLoggedInUserAccounts::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 144 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
References $DIC, $message, $result, ilObjectFactory\getInstanceByObjId(), ilObjUser\getUserIdsNeverLoggedIn(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
ilCronDeleteNeverLoggedInUserAccounts::saveCustomSettings | ( | \ilPropertyFormGUI | $a_form | ) |
Definition at line 243 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
References $valid, ilPropertyFormGUI\getItemByPostVar(), hasDecimals(), ilUtil\sendFailure(), and settings().
|
protected |
Definition at line 18 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
protected |
Definition at line 27 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
protected |
Definition at line 24 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
protected |
Definition at line 30 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
private |
Definition at line 12 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
protected |
Definition at line 21 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
|
private |
Definition at line 15 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.
const ilCronDeleteNeverLoggedInUserAccounts::DEFAULT_CREATION_THRESHOLD = 365 |
Definition at line 9 of file class.ilCronDeleteNeverLoggedInUserAccounts.php.