using fieldentry and tlLoader final part

This commit is contained in:
Nathan Eikermann 2021-05-04 14:31:52 +02:00
parent 45d0e6b78c
commit 637cd0760d

View File

@ -1416,255 +1416,259 @@ final class CsvxmlAvailableFields {
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[36]] = array_merge($availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[36]],
[
"was_depicted_place{$i}" => [
"required" => false,
"allowedValues" => [],
"dependsOn" => ["was_depicted_place_sure{$i}"],
"remark" => '',
"name_human_readable" => $event['where'],
"explica" => "",
],
"was_depicted_place_sure{$i}" => [
"required" => false,
"allowedValues" => ["y", "n"],
"dependsOn" => ["was_depicted_place{$i}"],
"remark" => '',
"name_human_readable" => $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "",
],
]);
$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”)],
[
"was_depicted_place{$i}" => new FieldEntry(
false,
[],
["was_depicted_place_sure{$i}"],
'',
$event['where'],
""
),
"was_depicted_place_sure{$i}" => new FieldEntry(
false,
["y", "n"],
["was_depicted_place{$i}"],
'',
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
""
),
]
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[6]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[6]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[6], "was_used", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “6”), "was_used", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[7]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[7]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[7], "written", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “7”), "written", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[8]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[8]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[8], "collected", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “8”), "collected", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[9]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[9]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[9], "painted", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “9”), "painted", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[10]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[10]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[10], "taken", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “10”), "taken", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[11]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[11]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[11], "received", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “11”), "received", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[12]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[12]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[12], "printing_plate_produced", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “12”), "printing_plate_produced", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[13]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[13]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[13], "sent", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “13”), "sent", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[14]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[14]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[14], "issued", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “14”), "issued", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[15]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[15]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[15], "signed", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “15”), "signed", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[16]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[16]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[16], "type_described", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “16”), "type_described", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[19]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[19]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[19], "drawn", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “19”), "drawn", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[20]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[20]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[20], "copied", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “20”), "copied", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[25]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[25]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[25], "commissioned", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “25”), "commissioned", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[26]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[26]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[26], "printed", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “26”), "printed", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[27]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[27]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[27], "spoken", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “27”), "spoken", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[28], "sung", $i)
);
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[29]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[29]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[29], "decor_designed", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “29”), "decor_designed", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[30]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[30]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[30], "form_designed", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “30”), "form_designed", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[31]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[31]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[31], "modelled", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “31”), "modelled", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[32]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[32]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[32], "signed_artwork", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “32”), "signed_artwork", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[33]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[33]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[33], "was_mentioned", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “33”), "was_mentioned", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[34]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[34]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[34], "buried", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “34”), "buried", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[35]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[35]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[35], "intellectual_creation", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “35”), "intellectual_creation", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[37]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[37]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[37], "painted_on", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “37”), "painted_on", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[38]] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[38]],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[38], "illustrated", $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”)],
$this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “38”), "illustrated", $i)
);
}
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[21]] = array_merge($availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[21]],
[
"has_lived_when{$i}" => [
"required" => false,
"allowedValues" => [],
"dependsOn" => ["has_lived_when_sure{$i}"],
"remark" => '',
"name_human_readable" => $event['when'],
"explica" => "",
],
"has_lived_when_sure{$i}" => [
"required" => false,
"allowedValues" => ["y", "n"],
"dependsOn" => ["has_lived_when{$i}"],
"remark" => '',
"name_human_readable" => $event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "",
],
"has_lived_where{$i}" => [
"required" => false,
"allowedValues" => [],
"dependsOn" => ["has_lived_where_sure{$i}"],
"remark" => '',
"name_human_readable" => $event['where'],
"explica" => "",
],
"has_lived_where_sure{$i}" => [
"required" => false,
"allowedValues" => ["y", "n"],
"dependsOn" => ["has_lived_where{$i}"],
"remark" => '',
"name_human_readable" => $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "",
],
"has_lived_annotation{$i}" => [
"required" => false,
"allowedValues" => '',
"dependsOn" => [],
"remark" => '',
"name_human_readable" => $event['classic_annotation_intro'],
"explica" => "",
],
]);
$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”)],
[
"has_lived_when{$i}" => new FieldEntry(
false,
[],
["has_lived_when_sure{$i}"],
'',
$event['when'],
""
),
"has_lived_when_sure{$i}" => new FieldEntry(
false,
["y", "n"],
["has_lived_when{$i}"],
'',
$event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
""
),
"has_lived_where{$i}" => new FieldEntry(
false,
[],
["has_lived_where_sure{$i}"],
'',
$event['where'],
""
),
"has_lived_where_sure{$i}" => new FieldEntry(
false,
["y", "n"],
["has_lived_where{$i}"],
'',
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
""
),
"has_lived_annotation{$i}" => new FieldEntry(
false,
'',
[],
'',
$event['classic_annotation_intro'],
""
),
]
);
}