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,137 +1416,139 @@ final class CsvxmlAvailableFields {
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { 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]], $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}" => [ "was_depicted_place{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => [], [],
"dependsOn" => ["was_depicted_place_sure{$i}"], ["was_depicted_place_sure{$i}"],
"remark" => '', '',
"name_human_readable" => $event['where'], $event['where'],
"explica" => "", ""
], ),
"was_depicted_place_sure{$i}" => [ "was_depicted_place_sure{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => ["y", "n"], ["y", "n"],
"dependsOn" => ["was_depicted_place{$i}"], ["was_depicted_place{$i}"],
"remark" => '', '',
"name_human_readable" => $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "", ""
], ),
]); ]
);
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[6]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “6”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[6]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “6”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[7]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “7”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[7]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “7”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[8]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “8”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[8]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “8”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[9]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “9”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[9]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “9”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[10]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “10”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[10]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “10”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[11]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “11”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[11]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “11”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[12]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “12”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[12]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “12”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[13]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “13”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[13]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “13”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[14]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “14”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[14]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “14”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[15]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “15”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[15]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “15”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[16]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “16”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[16]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “16”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[19]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “19”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[19]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “19”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[20]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “20”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[20]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “20”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[25]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “25”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[25]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “25”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[26]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “26”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[26]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “26”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[27]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “27”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[27]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “27”)],
$this->_generateGenericFullEvent($event, $tlLoader, $eventname[27], "spoken", $i) $this->_generateGenericFullEvent($event, $tlLoader, $tlLoader->tl(“eventtype-name”, “eventname”, “27”), "spoken", $i)
); );
} }
@ -1558,113 +1560,115 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[29]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “29”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[29]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “29”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[30]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “30”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[30]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “30”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[31]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “31”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[31]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “31”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[32]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “32”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[32]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “32”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[33]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “33”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[33]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “33”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[34]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “34”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[34]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “34”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[35]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “35”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[35]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “35”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[37]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “37”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[37]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “37”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[38]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “38”)] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[38]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl(“eventtype-name”, “eventname”, “38”)],
$this->_generateGenericFullEvent($event, $tlLoader, $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') . ': ' . $eventname[21]] = array_merge($availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[21]], $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}" => [ "has_lived_when{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => [], [],
"dependsOn" => ["has_lived_when_sure{$i}"], ["has_lived_when_sure{$i}"],
"remark" => '', '',
"name_human_readable" => $event['when'], $event['when'],
"explica" => "", ""
], ),
"has_lived_when_sure{$i}" => [ "has_lived_when_sure{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => ["y", "n"], ["y", "n"],
"dependsOn" => ["has_lived_when{$i}"], ["has_lived_when{$i}"],
"remark" => '', '',
"name_human_readable" => $event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "", ""
], ),
"has_lived_where{$i}" => [ "has_lived_where{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => [], [],
"dependsOn" => ["has_lived_where_sure{$i}"], ["has_lived_where_sure{$i}"],
"remark" => '', '',
"name_human_readable" => $event['where'], $event['where'],
"explica" => "", ""
], ),
"has_lived_where_sure{$i}" => [ "has_lived_where_sure{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => ["y", "n"], ["y", "n"],
"dependsOn" => ["has_lived_where{$i}"], ["has_lived_where{$i}"],
"remark" => '', '',
"name_human_readable" => $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"explica" => "", ""
], ),
"has_lived_annotation{$i}" => [ "has_lived_annotation{$i}" => new FieldEntry(
"required" => false, false,
"allowedValues" => '', '',
"dependsOn" => [], [],
"remark" => '', '',
"name_human_readable" => $event['classic_annotation_intro'], $event['classic_annotation_intro'],
"explica" => "", ""
], ),
]); ]
);
} }