Make available field retrieval be generated through an object

phpcs-errors:221 phpunit-status:successful phpstan-errors:677
This commit is contained in:
2020-10-31 01:28:03 +01:00
committed by Stefan Rohde-Enslin
parent 3ae471675d
commit 733241be47
6 changed files with 1660 additions and 1626 deletions

View File

@ -31,7 +31,8 @@ if (!empty($_POST) and !empty($_POST['selectedFields'])) {
}
else $selectionActive = false;
require __DIR__ . "/../values/availableFields.php";
$fieldsGetter = new CsvxmlAvailableFields($lang);
$availableFields = $fieldsGetter->getFields();
$line1 = $line2 = $line3 = $line4 = [];