ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilCertificateQueueRepository $queueRepository=null, ilCertificateTemplateRepository $templateRepository=null, ilUserCertificateRepository $userRepository=null, ilCertificateValueReplacement $valueReplacement=null, ilLogger $logger=null, \ILIAS\DI\Container $dic=null, ilLanguage $language=null, ilCertificateObjectHelper $objectHelper=null, ilSetting $setting=null) | |
getTitle () | |
getDescription () | |
init () | |
run () | |
getId () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
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 | DEFAULT_SCHEDULE_HOURS = 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 |
Protected Attributes | |
$lng | |
Private Attributes | |
$queueRepository | |
@var ilCertificateQueueRepository More... | |
$templateRepository | |
$userRepository | |
$logger | |
$valueReplacement | |
$objectHelper | |
$dic | |
$settings | |
Additional Inherited Members | |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Definition at line 7 of file class.ilCertificateCron.php.
ilCertificateCron::__construct | ( | ilCertificateQueueRepository | $queueRepository = null , |
ilCertificateTemplateRepository | $templateRepository = null , |
||
ilUserCertificateRepository | $userRepository = null , |
||
ilCertificateValueReplacement | $valueReplacement = null , |
||
ilLogger | $logger = null , |
||
\ILIAS\DI\Container | $dic = null , |
||
ilLanguage | $language = null , |
||
ilCertificateObjectHelper | $objectHelper = null , |
||
ilSetting | $setting = null |
||
) |
ilCertificateQueueRepository | $queueRepository | |
ilCertificateTemplateRepository | $templateRepository | |
ilUserCertificateRepository | $userRepository | |
ilCertificateValueReplacement | null | $valueReplacement | |
ilLogger | null | $logger | |
\ILIAS\DI\Container | null | $dic | |
ilLanguage | null | $language | |
ilCertificateObjectHelper | null | $objectHelper | |
ilSetting | null | $setting |
Definition at line 49 of file class.ilCertificateCron.php.
References $DIC, $dic, $language, $logger, $objectHelper, $queueRepository, $templateRepository, $userRepository, $valueReplacement, and settings().
ilCertificateCron::getDefaultScheduleType | ( | ) |
Definition at line 230 of file class.ilCertificateCron.php.
ilCertificateCron::getDefaultScheduleValue | ( | ) |
Definition at line 238 of file class.ilCertificateCron.php.
References $template, $type, ilCertificateQueueEntry\getAdapterClass(), ilCertificateQueueEntry\getId(), getId(), ilCertificateQueueEntry\getObjId(), ilCertificateQueueEntry\getStartedTimestamp(), ilCertificateQueueEntry\getTemplateId(), ilCertificateQueueEntry\getUserId(), ILIAS_VERSION_NUMERIC, and ilCronManager\ping().
ilCertificateCron::getDescription | ( | ) |
Definition at line 95 of file class.ilCertificateCron.php.
ilCertificateCron::getId | ( | ) |
Definition at line 206 of file class.ilCertificateCron.php.
Referenced by getDefaultScheduleValue().
ilCertificateCron::getTitle | ( | ) |
Definition at line 87 of file class.ilCertificateCron.php.
ilCertificateCron::hasAutoActivation | ( | ) |
Definition at line 214 of file class.ilCertificateCron.php.
ilCertificateCron::hasFlexibleSchedule | ( | ) |
Definition at line 222 of file class.ilCertificateCron.php.
ilCertificateCron::init | ( | ) |
Definition at line 100 of file class.ilCertificateCron.php.
References $DIC, and settings().
Referenced by run().
ilCertificateCron::run | ( | ) |
ilDatabaseException |
Definition at line 142 of file class.ilCertificateCron.php.
References $result, init(), settings(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
|
private |
Definition at line 33 of file class.ilCertificateCron.php.
Referenced by __construct().
|
protected |
Definition at line 12 of file class.ilCertificateCron.php.
|
private |
Definition at line 24 of file class.ilCertificateCron.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilCertificateCron.php.
Referenced by __construct().
|
private |
@var ilCertificateQueueRepository
Definition at line 15 of file class.ilCertificateCron.php.
Referenced by __construct().
|
private |
Definition at line 36 of file class.ilCertificateCron.php.
|
private |
Definition at line 18 of file class.ilCertificateCron.php.
Referenced by __construct().
|
private |
Definition at line 21 of file class.ilCertificateCron.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilCertificateCron.php.
Referenced by __construct().
const ilCertificateCron::DEFAULT_SCHEDULE_HOURS = 1 |
Definition at line 9 of file class.ilCertificateCron.php.