ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
ilCronManagerGUI: ilPropertyFormGUI ilCronManagerGUI: ilAdministrationGUI More...
Public Member Functions | |
executeCommand () | |
edit (?ILIAS\UI\Component\Input\Container\Form\Form $form=null) | |
editLegacy (?ilPropertyFormGUI $a_form=null) | |
update () | |
updateLegacy () | |
run () | |
confirmedRun () | |
activate () | |
confirmedActivate () | |
deactivate () | |
confirmedDeactivate () | |
reset () | |
confirmedReset () | |
addToExternalSettingsForm (int $a_form_id) | |
Data Fields | |
const | FORM_PARAM_MAIN_SECTION = 'main' |
const | FORM_PARAM_JOB_INPUT = 'additional_job_input' |
const | FORM_PARAM_GROUP_SCHEDULE = 'schedule' |
Protected Member Functions | |
render () | |
getScheduleValueFormElementName (JobScheduleType $schedule_type) | |
hasScheduleValue (JobScheduleType $schedule_type) | |
initEditForm (?CronJob $job) | |
initLegacyEditForm (?CronJob $job) | |
getMultiActionData () | |
confirm (string $a_action) | |
Private Member Functions | |
retrieveTableActionJobIds () | |
getTableActionParameterName () | |
addProblematicItemsInfo (\ILIAS\Cron\Job\JobCollection $filtered_jobs, \ILIAS\UI\Component\MessageBox\MessageBox $message, array $components) | |
getJobIdParameterName () | |
getRequestValue (string $key, \ILIAS\Refinery\Transformation $trafo, bool $force_retrieval=false, $default=null) | |
handleTableActions () | |
getScheduleTypeFormElementName (JobScheduleType $schedule_type) | |
Private Attributes | |
const array | TABLE_ACTION_NAMESPACE = ['cron', 'jobs'] |
const string | TABLE_ACTION_PARAM_NAME = 'table_action' |
const string | TABLE_ACTION_IDENTIFIER_NAME = 'jid' |
const string | FORM_PARAM_SCHEDULE_PREFIX = 'schedule_' |
readonly ilLanguage | $lng |
readonly ilCtrlInterface | $ctrl |
readonly ilSetting | $settings |
readonly ilGlobalTemplateInterface | $tpl |
readonly Factory | $ui_factory |
readonly Renderer | $ui_renderer |
readonly ilUIService | $ui_service |
readonly JobRepository | $cron_repository |
readonly ILIAS DI RBACServices | $rbac |
readonly ilErrorHandling | $error |
readonly WrapperFactory | $http_wrapper |
readonly ILIAS HTTP GlobalHttpState | $http |
readonly ILIAS Refinery Factory | $refinery |
readonly JobManager | $cron_manager |
readonly ilObjUser | $actor |
ilCronManagerGUI: ilPropertyFormGUI ilCronManagerGUI: ilAdministrationGUI
Definition at line 38 of file class.ilCronManagerGUI.php.
ilCronManagerGUI::activate | ( | ) |
Definition at line 704 of file class.ilCronManagerGUI.php.
References confirm().
Referenced by handleTableActions().
|
private |
list< |
Definition at line 144 of file class.ilCronManagerGUI.php.
References $components, ILIAS\BackgroundTasks\Task\Job\JobEntity\getEffectiveJobId(), ILIAS\BackgroundTasks\Task\Job\JobEntity\getEffectiveTitle(), ILIAS\BackgroundTasks\Task\Job\JobEntity\getJobResultStatus(), and ILIAS\Repository\lng().
ilCronManagerGUI::addToExternalSettingsForm | ( | int | $a_form_id | ) |
Definition at line 865 of file class.ilCronManagerGUI.php.
|
protected |
Definition at line 805 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getJobIdParameterName(), getMultiActionData(), ILIAS\Cron\CronJob\isManuallyExecutable(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and SYSTEM_FOLDER_ID.
Referenced by activate(), deactivate(), reset(), and run().
ilCronManagerGUI::confirmedActivate | ( | ) |
Definition at line 709 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getMultiActionData(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and SYSTEM_FOLDER_ID.
ilCronManagerGUI::confirmedDeactivate | ( | ) |
Definition at line 736 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getMultiActionData(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and SYSTEM_FOLDER_ID.
ilCronManagerGUI::confirmedReset | ( | ) |
Definition at line 763 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getMultiActionData(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and SYSTEM_FOLDER_ID.
ilCronManagerGUI::confirmedRun | ( | ) |
Definition at line 683 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), retrieveTableActionJobIds(), and SYSTEM_FOLDER_ID.
ilCronManagerGUI::deactivate | ( | ) |
Definition at line 731 of file class.ilCronManagerGUI.php.
References confirm().
Referenced by handleTableActions().
ilCronManagerGUI::edit | ( | ?ILIAS\UI\Component\Input\Container\Form\Form | $form = null | ) |
Definition at line 325 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getJobIdParameterName(), initEditForm(), ILIAS\Repository\lng(), null, ILIAS\Repository\rbac(), retrieveTableActionJobIds(), and SYSTEM_FOLDER_ID.
Referenced by handleTableActions(), and update().
ilCronManagerGUI::editLegacy | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 350 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), initLegacyEditForm(), ILIAS\Repository\lng(), null, ILIAS\Repository\rbac(), retrieveTableActionJobIds(), and SYSTEM_FOLDER_ID.
Referenced by updateLegacy().
ilCronManagerGUI::executeCommand | ( | ) |
Definition at line 224 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), getJobIdParameterName(), getRequestValue(), initLegacyEditForm(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), ilUtil\stripSlashes(), and SYSTEM_FOLDER_ID.
|
private |
Definition at line 184 of file class.ilCronManagerGUI.php.
Referenced by confirm(), edit(), executeCommand(), initEditForm(), initLegacyEditForm(), retrieveTableActionJobIds(), update(), and updateLegacy().
|
protected |
Definition at line 785 of file class.ilCronManagerGUI.php.
References $res, and retrieveTableActionJobIds().
Referenced by confirm(), confirmedActivate(), confirmedDeactivate(), and confirmedReset().
|
private |
mixed | $default |
Definition at line 193 of file class.ilCronManagerGUI.php.
References Vendor\Package\$e, and null.
Referenced by executeCommand(), update(), and updateLegacy().
|
private |
Definition at line 370 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Cron\Job\Schedule\YEARLY.
Referenced by initEditForm(), and initLegacyEditForm().
|
protected |
Definition at line 384 of file class.ilCronManagerGUI.php.
Referenced by initEditForm(), initLegacyEditForm(), and update().
|
private |
Definition at line 135 of file class.ilCronManagerGUI.php.
Referenced by handleTableActions().
|
private |
Definition at line 245 of file class.ilCronManagerGUI.php.
References activate(), deactivate(), edit(), getTableActionParameterName(), ILIAS\Repository\refinery(), render(), reset(), and run().
|
protected |
Definition at line 399 of file class.ilCronManagerGUI.php.
Referenced by update(), and updateLegacy().
|
protected |
Definition at line 408 of file class.ilCronManagerGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), ILIAS\Cron\CronJob\getAllScheduleTypes(), ILIAS\Cron\CronJob\getCustomConfigurationInput(), ILIAS\Cron\CronJob\getId(), getJobIdParameterName(), getScheduleTypeFormElementName(), ILIAS\Cron\CronJob\getScheduleTypesWithValues(), getScheduleValueFormElementName(), ILIAS\Cron\CronJob\getTitle(), ILIAS\Cron\CronJob\getValidScheduleTypes(), ILIAS\Cron\CronJob\hasCustomSettings(), ILIAS\Cron\CronJob\hasFlexibleSchedule(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), and ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation().
Referenced by edit(), and update().
|
protected |
Definition at line 514 of file class.ilCronManagerGUI.php.
References ILIAS\Cron\CronJob\addCustomSettingsToForm(), ilNumberInputGUI\allowDecimals(), ILIAS\Repository\ctrl(), ILIAS\Cron\CronJob\getAllScheduleTypes(), ILIAS\Cron\CronJob\getId(), getJobIdParameterName(), getScheduleTypeFormElementName(), ILIAS\Cron\CronJob\getScheduleTypesWithValues(), getScheduleValueFormElementName(), ILIAS\Cron\CronJob\getTitle(), ILIAS\Cron\CronJob\getValidScheduleTypes(), ILIAS\Cron\CronJob\hasCustomSettings(), ILIAS\Cron\CronJob\hasFlexibleSchedule(), ILIAS\Repository\lng(), null, and ilFormPropertyGUI\setRequired().
Referenced by editLegacy(), executeCommand(), and updateLegacy().
|
protected |
Definition at line 264 of file class.ilCronManagerGUI.php.
References $cron_repository, $ctrl, $lng, $message, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\rbac(), ILIAS\Repository\settings(), and SYSTEM_FOLDER_ID.
Referenced by handleTableActions().
ilCronManagerGUI::reset | ( | ) |
Definition at line 758 of file class.ilCronManagerGUI.php.
References confirm().
Referenced by handleTableActions().
|
private |
Definition at line 92 of file class.ilCronManagerGUI.php.
References $lng, $ui_factory, $ui_service, ILIAS\Repository\ctrl(), ILIAS\BackgroundTasks\Task\Job\Manager\UI\JobTableFilterMediator\filter(), ILIAS\BackgroundTasks\Task\Job\JobEntity\getEffectiveJobId(), getJobIdParameterName(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmedRun(), edit(), editLegacy(), and getMultiActionData().
ilCronManagerGUI::run | ( | ) |
Definition at line 678 of file class.ilCronManagerGUI.php.
References confirm().
Referenced by handleTableActions().
ilCronManagerGUI::update | ( | ) |
Definition at line 576 of file class.ilCronManagerGUI.php.
References ILIAS\Repository\ctrl(), edit(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), getJobIdParameterName(), getRequestValue(), getScheduleValueFormElementName(), hasScheduleValue(), ILIAS\FileDelivery\http(), initEditForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), null, ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), and SYSTEM_FOLDER_ID.
ilCronManagerGUI::updateLegacy | ( | ) |
Definition at line 636 of file class.ilCronManagerGUI.php.
References $valid, ILIAS\Repository\ctrl(), editLegacy(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), getJobIdParameterName(), getRequestValue(), hasScheduleValue(), initLegacyEditForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), null, ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), and SYSTEM_FOLDER_ID.
|
private |
Definition at line 62 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 61 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 55 of file class.ilCronManagerGUI.php.
Referenced by render().
|
private |
Definition at line 49 of file class.ilCronManagerGUI.php.
Referenced by render().
|
private |
Definition at line 57 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 59 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 58 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 48 of file class.ilCronManagerGUI.php.
Referenced by render(), and retrieveTableActionJobIds().
|
private |
Definition at line 56 of file class.ilCronManagerGUI.php.
Definition at line 60 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 50 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 51 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 52 of file class.ilCronManagerGUI.php.
Referenced by retrieveTableActionJobIds().
|
private |
Definition at line 53 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 54 of file class.ilCronManagerGUI.php.
Referenced by retrieveTableActionJobIds().
const ilCronManagerGUI::FORM_PARAM_GROUP_SCHEDULE = 'schedule' |
Definition at line 46 of file class.ilCronManagerGUI.php.
const ilCronManagerGUI::FORM_PARAM_JOB_INPUT = 'additional_job_input' |
Definition at line 45 of file class.ilCronManagerGUI.php.
const ilCronManagerGUI::FORM_PARAM_MAIN_SECTION = 'main' |
Definition at line 44 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 43 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 42 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 40 of file class.ilCronManagerGUI.php.
|
private |
Definition at line 41 of file class.ilCronManagerGUI.php.