fixed various errors

This commit is contained in:
Nathan Eikermann 2021-05-05 20:42:14 +02:00
parent d5e1f122f7
commit 014b723939
2 changed files with 216 additions and 170 deletions

View File

@ -210,8 +210,8 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
['detailed_description_md', 'detailed_description'], ['detailed_description_md', 'detailed_description'],
'Shall later exports from museum-digital include the detailed_description?</br>If <i>detailed_desription</i> is available for an object, <i>detailed_description_md</i> and <i>detailed_description_extern</i> have to have values too', 'Shall later exports from museum-digital include the detailed_description?</br>If <i>detailed_desription</i> is available for an object, <i>detailed_description_md</i> and <i>detailed_description_extern</i> have to have values too',
$object_add['ddesc_visibility_extern'] $object_add['ddesc_visibility_extern'],
"" "",
), ),
], ],
$searchvar[2][0] => [ $searchvar[2][0] => [
@ -244,6 +244,7 @@ final class CsvxmlAvailableFields {
"material_separate" => new FieldEntry( "material_separate" => new FieldEntry(
false, false,
[], [],
[],
'Additional to collecting material and technique in a combined field (see above), the material(s) can be given here separately', 'Additional to collecting material and technique in a combined field (see above), the material(s) can be given here separately',
$searchvar[52][0], $searchvar[52][0],
"" ""
@ -251,6 +252,7 @@ final class CsvxmlAvailableFields {
"technique_separate" => new FieldEntry( "technique_separate" => new FieldEntry(
false, false,
[], [],
[],
'Additional to collecting material and technique in a combined field (see above), the technique(s) can be given here separately', 'Additional to collecting material and technique in a combined field (see above), the technique(s) can be given here separately',
$searchvar[53][0], $searchvar[53][0],
"" ""
@ -382,6 +384,7 @@ final class CsvxmlAvailableFields {
"number_of_pieces" => new FieldEntry( "number_of_pieces" => new FieldEntry(
false, false,
[], [],
[],
'Only to be given if more than one copies of an object are available and catalogued with the same inventory number', 'Only to be given if more than one copies of an object are available and catalogued with the same inventory number',
$export['exact_measurements_number_pieces'], $export['exact_measurements_number_pieces'],
"" ""
@ -389,6 +392,7 @@ final class CsvxmlAvailableFields {
"number_of_pages" => new FieldEntry( "number_of_pages" => new FieldEntry(
false, false,
[], [],
[],
'Only to be given for books (etc.)', 'Only to be given for books (etc.)',
$export['exact_measurements_number_pages'], $export['exact_measurements_number_pages'],
"" ""
@ -450,6 +454,7 @@ final class CsvxmlAvailableFields {
"entry_number" => new FieldEntry( "entry_number" => new FieldEntry(
false, false,
[], [],
[],
'The entry number of the object if available', 'The entry number of the object if available',
$searchvar[12][0], $searchvar[12][0],
$object_add['einu_inhalt'] $object_add['einu_inhalt']
@ -457,6 +462,7 @@ final class CsvxmlAvailableFields {
"other_inventory_number" => new FieldEntry( "other_inventory_number" => new FieldEntry(
false, false,
[], [],
[],
'All other inventory numbers (older ones presumably) in one field', 'All other inventory numbers (older ones presumably) in one field',
$searchvar[13][0], $searchvar[13][0],
$object_add['invp_inhalt'] $object_add['invp_inhalt']
@ -464,6 +470,7 @@ final class CsvxmlAvailableFields {
"subject_group" => new FieldEntry( "subject_group" => new FieldEntry(
false, false,
[], [],
[],
'If the object is part of an subject group this information should be given here', 'If the object is part of an subject group this information should be given here',
$searchvar[16][0], $searchvar[16][0],
"" ""
@ -471,6 +478,7 @@ final class CsvxmlAvailableFields {
"systematic" => new FieldEntry( "systematic" => new FieldEntry(
false, false,
[], [],
[],
'If the object is put into a museum-systematic the place it has there', 'If the object is put into a museum-systematic the place it has there',
$searchvar[17][0], $searchvar[17][0],
"" ""
@ -478,6 +486,7 @@ final class CsvxmlAvailableFields {
"bundle" => new FieldEntry( "bundle" => new FieldEntry(
false, false,
[], [],
[],
'The bundle the object belongs to', 'The bundle the object belongs to',
$searchvar[14][0], $searchvar[14][0],
"" ""
@ -485,6 +494,7 @@ final class CsvxmlAvailableFields {
"part_of" => new FieldEntry( "part_of" => new FieldEntry(
false, false,
[], [],
[],
'If the object is part of something it can be given here', 'If the object is part of something it can be given here',
$searchvar[15][0], $searchvar[15][0],
"" ""
@ -493,7 +503,8 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'administration') => [ $tlLoader->tl("basis", "basis", 'administration') => [
"inclusion_when" => new FieldEntry( "inclusion_when" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[19][0], $searchvar[19][0],
$tlLoader->tl("object_basis", "object_basis", 'inv_explica') $tlLoader->tl("object_basis", "object_basis", 'inv_explica')
@ -501,34 +512,39 @@ final class CsvxmlAvailableFields {
"inclusion_kind_of" => new FieldEntry( "inclusion_kind_of" => new FieldEntry(
false, false,
MDEntryTypesSet::getSortedList($tlLoader), MDEntryTypesSet::getSortedList($tlLoader),
[],
'', '',
"{$searchvar[19][0]}, {$object_add['as']}", "{$searchvar[19][0]}, {$object_add['as']}",
"" ""
), ),
"inclusion_who" => new FieldEntry( "inclusion_who" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[47][0]}", "{$searchvar[47][0]}",
"" ""
), ),
"inclusion_where" => new FieldEntry( "inclusion_where" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[48][0], $searchvar[48][0],
"" ""
), ),
"registration_first_who" => new FieldEntry( "registration_first_who" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[49][0], $searchvar[49][0],
"" ""
), ),
"registration_first_when" => new FieldEntry( "registration_first_when" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[50][0], $searchvar[50][0],
"" ""
@ -537,21 +553,23 @@ final class CsvxmlAvailableFields {
$object_add['object_history'] => [ $object_add['object_history'] => [
"owner_previous" => new FieldEntry( "owner_previous" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[18][0], $searchvar[18][0],
$object_add['vorb_inhalt'] $object_add['vorb_inhalt']
), ),
"object_history" => new FieldEntry( "object_history" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[22][0], $searchvar[22][0],
$object_add['obge_inhalt'] $object_add['obge_inhalt']
), ),
"bought_for" => new FieldEntry( "bought_for" => new FieldEntry(
false, false,
'', [],
["bought_for_currency"], ["bought_for_currency"],
'', '',
"{$searchvar[19][0]}, {$object_add['for']}", "{$searchvar[19][0]}, {$object_add['for']}",
@ -569,21 +587,24 @@ final class CsvxmlAvailableFields {
$object_add['values'] => [ $object_add['values'] => [
"worth_determiner" => new FieldEntry( "worth_determiner" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[23][0]}; {$object_add['by']}", "{$searchvar[23][0]}; {$object_add['by']}",
"" ""
), ),
"worth_when" => new FieldEntry( "worth_when" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[23][0], $searchvar[23][0],
"" ""
), ),
"worth_value" => new FieldEntry( "worth_value" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[23][0]}; {$object_add['at']}", "{$searchvar[23][0]}; {$object_add['at']}",
"" ""
@ -591,27 +612,31 @@ final class CsvxmlAvailableFields {
"worth_unit" => new FieldEntry( "worth_unit" => new FieldEntry(
false, false,
$currencies, $currencies,
[],
'', '',
"{$searchvar[23][0]}; Currency", "{$searchvar[23][0]}; Currency",
"" ""
), ),
"worth_insurance_determiner" => new FieldEntry( "worth_insurance_determiner" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[26][0]}; {$object_add['by']}", "{$searchvar[26][0]}; {$object_add['by']}",
"" ""
), ),
"worth_insurance_when" => new FieldEntry( "worth_insurance_when" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[26][0]}", "{$searchvar[26][0]}",
"" ""
), ),
"worth_insurance_value" => new FieldEntry( "worth_insurance_value" => new FieldEntry(
false, false,
'', [],
[],
'', '',
"{$searchvar[26][0]}; {$object_add['at']}", "{$searchvar[26][0]}; {$object_add['at']}",
"" ""
@ -619,6 +644,7 @@ final class CsvxmlAvailableFields {
"worth_insurance_unit" => new FieldEntry( "worth_insurance_unit" => new FieldEntry(
false, false,
$currencies, $currencies,
[],
'', '',
"{$searchvar[26][0]}; Currency", "{$searchvar[26][0]}; Currency",
"" ""
@ -627,14 +653,16 @@ final class CsvxmlAvailableFields {
$object_add['state'] => [ $object_add['state'] => [
"state" => new FieldEntry( "state" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[29][0], $searchvar[29][0],
$object_add['zust_inhalt'] $object_add['zust_inhalt']
), ),
"restauration" => new FieldEntry( "restauration" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[30][0], $searchvar[30][0],
$object_add['rest_inhalt'] $object_add['rest_inhalt']
@ -643,56 +671,64 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'abode') => [ $tlLoader->tl("basis", "basis", 'abode') => [
"abode_actual" => new FieldEntry( "abode_actual" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[31][0], $searchvar[31][0],
$object_add['aktu_inhalt'] $object_add['aktu_inhalt']
), ),
"abode_regular" => new FieldEntry( "abode_regular" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[32][0], $searchvar[32][0],
$object_add['stan_inhalt'] $object_add['stan_inhalt']
), ),
"exhibition" => new FieldEntry( "exhibition" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[33][0], $searchvar[33][0],
$object_add['aust_inhalt'] $object_add['aust_inhalt']
), ),
"on_loan_to" => new FieldEntry( "on_loan_to" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[34][0], $searchvar[34][0],
$object_add['verl_inhalt'] $object_add['verl_inhalt']
), ),
"on_loan_contact" => new FieldEntry( "on_loan_contact" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[35][0], $searchvar[35][0],
$object_add['ansp_inhalt'] $object_add['ansp_inhalt']
), ),
"on_loan_when" => new FieldEntry( "on_loan_when" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[36][0], $searchvar[36][0],
$object_add['vher_inhalt'] $object_add['vher_inhalt']
), ),
"on_loan_insurance_value" => new FieldEntry( "on_loan_insurance_value" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[37][0], $searchvar[37][0],
$object_add['vlei_inhalt'] $object_add['vlei_inhalt']
), ),
"on_loan_annotation" => new FieldEntry( "on_loan_annotation" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[38][0], $searchvar[38][0],
$object_add['alei_inhalt'] $object_add['alei_inhalt']
@ -701,35 +737,40 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'rights') => [ $tlLoader->tl("basis", "basis", 'rights') => [
"rights_object" => new FieldEntry( "rights_object" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[39][0], $searchvar[39][0],
$object_add['urhe_inhalt'] $object_add['urhe_inhalt']
), ),
"rights_of_use" => new FieldEntry( "rights_of_use" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[40][0], $searchvar[40][0],
$object_add['nure_inhalt'] $object_add['nure_inhalt']
), ),
"rights_annotation" => new FieldEntry( "rights_annotation" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[41][0], $searchvar[41][0],
$object_add['arec_inhalt'] $object_add['arec_inhalt']
), ),
"rights_metadata_holder" => new FieldEntry( "rights_metadata_holder" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$object_add['metadata_rights_holder'], $object_add['metadata_rights_holder'],
"" ""
), ),
"rights_metadata_license" => new FieldEntry( "rights_metadata_license" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$object_add['metadata_rights_status'], $object_add['metadata_rights_status'],
"" ""
@ -738,28 +779,32 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'remarks') => [ $tlLoader->tl("basis", "basis", 'remarks') => [
"remarks_short" => new FieldEntry( "remarks_short" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[42][0], $searchvar[42][0],
$object_add['kurz_inhalt'] $object_add['kurz_inhalt'],
], ),
"remarks_long" => new FieldEntry( "remarks_long" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[43][0], $searchvar[43][0],
$object_add['noti_inhalt'] $object_add['noti_inhalt']
), ),
"images_in_museum" => new FieldEntry( "images_in_museum" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[44][0], $searchvar[44][0],
$object_add['oaim_inhalt'] $object_add['oaim_inhalt']
), ),
"documents_in_museum" => new FieldEntry( "documents_in_museum" => new FieldEntry(
false, false,
'', [],
[],
'', '',
$searchvar[45][0], $searchvar[45][0],
$object_add['odim_inhalt'] $object_add['odim_inhalt']
@ -771,44 +816,44 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'literature') => [], $tlLoader->tl("basis", "basis", 'literature') => [],
$tlLoader->tl("basis", "basis", 'objectgroup') => [], $tlLoader->tl("basis", "basis", 'objectgroup') => [],
$overview['tags'] => [], $overview['tags'] => [],
$tlLoader->tl(“eventtype-name”, “eventname”, “22”) => [], $tlLoader->tl("eventtype_name", "eventname", "22") => [],
$tlLoader->tl(“eventtype-name”, “eventname”, “23”) => [], $tlLoader->tl("eventtype_name", "eventname", "23") => [],
$tlLoader->tl(“eventtype-name”, “eventname”, “24”) => [], $tlLoader->tl("eventtype_name", "eventname", "24") => [],
$overview['images'] => [], $overview['images'] => [],
$tlLoader->tl("basis", "basis", 'resource') => [], $tlLoader->tl("basis", "basis", 'resource') => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “1”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "1") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “2”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "2") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “3”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "3") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “4”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "4") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “5”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "5") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “36”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "36") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “6”)=> [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "6")=> [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “7”)=> [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "7")=> [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “8”)=> [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "8")=> [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “9”)=> [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "9")=> [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “10”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "10") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “11”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "11") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “12”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "12") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “13”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "13") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “14”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "14") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “15”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "15") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “16”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "16") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “19”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "19") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “20”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "20") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “21”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "21") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “25”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "25") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “26”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "26") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “27”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "27") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “28”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "28") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “29”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "29") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “30”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "30") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “31”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "31") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “32”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "32") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “33”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "33") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “34”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "34") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “35”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "35") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “37”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "37") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl(“eventtype-name”, “eventname”, “38”) => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "38") => [],
]; ];
/* /*
@ -1077,6 +1122,7 @@ final class CsvxmlAvailableFields {
$availableFields[$overview['tags']]["tag{$i}"] = new FieldEntry( $availableFields[$overview['tags']]["tag{$i}"] = new FieldEntry(
false, false,
[], [],
[],
'', '',
$overview['tags'], $overview['tags'],
"" ""
@ -1361,37 +1407,37 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “1”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “1”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “1”), "production", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "1"), "production", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “2”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “2”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “2”), "finding", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "2"), "finding", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “3”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “3”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “3”), "publication", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "3"), "publication", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “4”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “4”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “4”), "template_creation", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "4"), "template_creation", $i)
); );
} }
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “5”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “5”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")],
[ [
"was_depicted_who{$i}" => new FieldEntry( "was_depicted_who{$i}" => new FieldEntry(
false, false,
@ -1416,8 +1462,8 @@ final class CsvxmlAvailableFields {
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “36”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “36”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")],
[ [
"was_depicted_place{$i}" => new FieldEntry( "was_depicted_place{$i}" => new FieldEntry(
false, false,
@ -1441,114 +1487,114 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “6”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “6”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “6”), "was_used", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "6"), "was_used", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “7”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “7”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “7”), "written", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "7"), "written", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “8”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “8”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “8”), "collected", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "8"), "collected", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “9”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “9”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “9”), "painted", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "9"), "painted", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “10”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “10”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “10”), "taken", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "10"), "taken", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “11”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “11”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “11”), "received", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "11"), "received", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “12”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “12”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “12”), "printing_plate_produced", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "12"), "printing_plate_produced", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “13”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “13”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “13”), "sent", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "13"), "sent", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “14”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “14”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “14”), "issued", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "14"), "issued", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “15”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “15”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “15”), "signed", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "15"), "signed", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “16”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “16”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “16”), "type_described", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "16"), "type_described", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “19”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “19”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “19”), "drawn", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "19"), "drawn", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “20”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “20”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “20”), "copied", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "20"), "copied", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “25”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “25”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “25”), "commissioned", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "25"), "commissioned", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “26”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “26”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “26”), "printed", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "26"), "printed", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “27”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “27”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “27”), "spoken", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "27"), "spoken", $i)
); );
} }
@ -1560,72 +1606,72 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “29”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “29”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “29”), "decor_designed", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "29"), "decor_designed", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “30”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “30”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “30”), "form_designed", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "30"), "form_designed", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “31”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “31”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “31”), "modelled", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "31"), "modelled", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “32”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “32”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “32”), "signed_artwork", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "32"), "signed_artwork", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “33”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “33”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “33”), "was_mentioned", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "33"), "was_mentioned", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “34”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “34”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “34”), "buried", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "34"), "buried", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “35”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “35”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “35”), "intellectual_creation", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "35"), "intellectual_creation", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “37”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “37”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “37”), "painted_on", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "37"), "painted_on", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “38”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “38”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “38”), "illustrated", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl("eventtype_name", "eventname", "38"), "illustrated", $i)
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “21”)] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “21”)], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")],
[ [
"has_lived_when{$i}" => new FieldEntry( "has_lived_when{$i}" => new FieldEntry(
false, false,
@ -1661,7 +1707,7 @@ final class CsvxmlAvailableFields {
), ),
"has_lived_annotation{$i}" => new FieldEntry( "has_lived_annotation{$i}" => new FieldEntry(
false, false,
'', [],
[], [],
'', '',
$event['classic_annotation_intro'], $event['classic_annotation_intro'],

View File

@ -11,7 +11,7 @@ declare(strict_types = 1);
*/ */
final class FieldEntry final class FieldEntry
{ {
public boolean $required; public bool $required;
public array $allowedValues; public array $allowedValues;
public array $dependsOn; public array $dependsOn;
public string $remark; public string $remark;
@ -21,7 +21,7 @@ final class FieldEntry
/** /**
* Function for constructing a new FieldEntry Object. * Function for constructing a new FieldEntry Object.
* *
* @param boolean $required True if the field is required. * @param bool $required True if the field is required.
* @param array $allowedValues Array of allowed values. * @param array $allowedValues Array of allowed values.
* @param array $dependsOn Array of fields the entry depends on. * @param array $dependsOn Array of fields the entry depends on.
* @param string $remark String variable. * @param string $remark String variable.
@ -29,7 +29,7 @@ final class FieldEntry
* @param string $explica String variable * @param string $explica String variable
*/ */
public function __construct( public function __construct(
boolean $required, array $allowedValues, bool $required, array $allowedValues,
array $dependsOn, string $remark, array $dependsOn, string $remark,
string $name_human_readable, string $explica string $name_human_readable, string $explica
) { ) {