Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron: Support KS/UI forms #8736

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions components/ILIAS/Cron/classes/class.ilCronJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,45 @@ public function hasCustomSettings(): bool
return false;
}

/**
* @deprecated
*/
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
public function usesLegacyForms(): bool
{
return true;
}

/**
* @return array<string, \ILIAS\UI\Component\Input\Field\Section> A map of sections to be added to the configuratio form
*/
public function getCustomConfigurationSections(
\ILIAS\UI\Factory $ui_factory,
\ILIAS\Refinery\Factory $factory,
ilLanguage $lng
): array {
return [];
}

/**
* @deprecated
*/
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
public function addCustomSettingsToForm(ilPropertyFormGUI $a_form): void
{
}

/**
* @param array<string, mixed> $group_data data of the that group as array, as processed by the KS
*/
public function saveCustomConfiguration(array $form_data): void
{
}

/**
* @deprecated
*/
#[\Deprecated('Will be removed without any alternative, KS/UI forms will be expected', since: '13.0')]
public function saveCustomSettings(ilPropertyFormGUI $a_form): bool
{
return true;
Expand Down
Loading
Loading