parent
e617cd6054
commit
7fd6b18af1
|
@ -11,6 +11,7 @@ declare(strict_types = 1);
|
|||
*/
|
||||
final class CsvxmlAvailableFields {
|
||||
|
||||
const GENERAL_FIELD_MULTIPLIER = 1;
|
||||
const EVENT_MULTIPLIER = 3;
|
||||
|
||||
/** @var array<mixed>
|
||||
|
@ -89,19 +90,8 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
$tlLoader = new MDTlLoader("available_fields", $lang);
|
||||
|
||||
foreach (MD_STD::scandir(__DIR__ . "/../l10n/musdb/$lang/") as $fileName) {
|
||||
if (in_array($fileName, ['start.php', 'start2.php'])) continue;
|
||||
include __DIR__ . "/../l10n/musdb/{$lang}/{$fileName}";
|
||||
}
|
||||
|
||||
include __DIR__ . "/../classes/MDAllowedValueSets/l18n/$lang/eventtype_name.php";
|
||||
|
||||
$currencies = MDCurrenciesSet::getSortedList($tlLoader);
|
||||
|
||||
if (empty($fieldNoMultiplicator) or !is_numeric($fieldNoMultiplicator)) {
|
||||
$fieldNoMultiplicator = 1;
|
||||
}
|
||||
|
||||
$availableFields = [
|
||||
|
||||
$tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data') => [
|
||||
|
@ -158,7 +148,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
[],
|
||||
'Shall the object be visible directly after import?',
|
||||
$objekt['visibility'],
|
||||
$tlLoader->tl("object", "objekt", 'visibility'),
|
||||
''
|
||||
),
|
||||
"institution_name" => new FieldEntry(
|
||||
|
@ -166,8 +156,8 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
[],
|
||||
'If name of institution is given it has to be exactly the same as already known in museum-digital',
|
||||
$museum['museum_name'],
|
||||
$museum['musnam_explica']
|
||||
$tlLoader->tl("museum", "museum", 'museum_name'),
|
||||
$tlLoader->tl("museum", "museum", 'musnam_explica'),
|
||||
),
|
||||
],
|
||||
$tlLoader->tl("object_addendum", "object_add", "other_object_name") => [
|
||||
|
@ -264,7 +254,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_length_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_length_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_length_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_length_unit" => new FieldEntry(
|
||||
|
@ -272,7 +262,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_LENGTH,
|
||||
['dimensions_separate_length_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_length_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_length_unit'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_width_value" => new FieldEntry(
|
||||
|
@ -280,7 +270,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_width_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_width_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_width_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_width_unit" => new FieldEntry(
|
||||
|
@ -288,7 +278,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_LENGTH,
|
||||
['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_width_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_width_unit'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_height_value" => new FieldEntry(
|
||||
|
@ -296,7 +286,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_height_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_height_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_height_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_height_unit" => new FieldEntry(
|
||||
|
@ -304,7 +294,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_LENGTH,
|
||||
['dimensions_separate_height_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_height_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_height_unit'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_weight_value" => new FieldEntry(
|
||||
|
@ -312,7 +302,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_weight_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_weight_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_weight_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_weight_unit" => new FieldEntry(
|
||||
|
@ -320,7 +310,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_WEIGHT,
|
||||
['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_weight_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_weight_unit'),
|
||||
$tlLoader->tl("object_basis", "object_basis", 'inv_explica')
|
||||
),
|
||||
"dimensions_separate_diameter_value" => new FieldEntry(
|
||||
|
@ -328,7 +318,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_diameter_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_diameter_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_diameter_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_diameter_unit" => new FieldEntry(
|
||||
|
@ -336,7 +326,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_LENGTH,
|
||||
['dimensions_separate_diameter_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_diameter_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_diameter_unit'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_wall_thickness_value" => new FieldEntry(
|
||||
|
@ -344,7 +334,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_wall_thickness_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_wall_size_value'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_wall_size_value'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_wall_thickness_unit" => new FieldEntry(
|
||||
|
@ -352,7 +342,7 @@ final class CsvxmlAvailableFields {
|
|||
MDUnitsSet::UNITS_LENGTH,
|
||||
['dimensions_separate_wall_thickness_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
|
||||
$export['exact_measurements_wall_size_unit'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_wall_size_unit'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_show_md" => new FieldEntry(
|
||||
|
@ -386,7 +376,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
[],
|
||||
'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'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_number_pieces'),
|
||||
""
|
||||
),
|
||||
"number_of_pages" => new FieldEntry(
|
||||
|
@ -394,7 +384,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
[],
|
||||
'Only to be given for books (etc.)',
|
||||
$export['exact_measurements_number_pages'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_number_pages'),
|
||||
""
|
||||
),
|
||||
"dimensions_separate_stamp_position" => new FieldEntry(
|
||||
|
@ -402,7 +392,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
['dimensions_separate_show_md', 'dimensions_separate_show_extern'],
|
||||
'',
|
||||
$export['exact_measurements_stamp_position'],
|
||||
$tlLoader->tl("export", "export", 'exact_measurements_stamp_position'),
|
||||
""
|
||||
),
|
||||
],
|
||||
|
@ -443,9 +433,9 @@ final class CsvxmlAvailableFields {
|
|||
),
|
||||
"closer_location_as" => new FieldEntry(
|
||||
false,
|
||||
array_values($ortart),
|
||||
MDCloserLocationTypesSet::getSortedList($tlLoader),
|
||||
['closer_location'],
|
||||
'A place in a special relation to the object can be given in <i>closer_location</i>. Here the kind of relation between object and place has to specified',
|
||||
'A place in a special relation to the object can be given in closer_location. Here the kind of relation between object and place has to specified',
|
||||
$tlLoader->tl("object_addendum", "object_add", "closer_location") . ", " . $tlLoader->tl("object_addendum", "object_add", 'as'),
|
||||
""
|
||||
),
|
||||
|
@ -862,16 +852,16 @@ final class CsvxmlAvailableFields {
|
|||
$tlLoader->tl("object_addendum", "object_add", 'odim_inhalt')
|
||||
),
|
||||
],
|
||||
$overview['links'] => [],
|
||||
$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [],
|
||||
$tlLoader->tl("overview", "overview", 'links') => [],
|
||||
$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [],
|
||||
"translations" => [],
|
||||
$tlLoader->tl("basis", "basis", 'literature') => [],
|
||||
$tlLoader->tl("basis", "basis", 'objectgroup') => [],
|
||||
$overview['tags'] => [],
|
||||
$tlLoader->tl("overview", "overview", 'tags') => [],
|
||||
$tlLoader->tl("eventtype_name", "eventname", "22") => [],
|
||||
$tlLoader->tl("eventtype_name", "eventname", "23") => [],
|
||||
$tlLoader->tl("eventtype_name", "eventname", "24") => [],
|
||||
$overview['images'] => [],
|
||||
$tlLoader->tl("overview", "overview", 'images') => [],
|
||||
$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", "2") => [],
|
||||
|
@ -919,36 +909,36 @@ final class CsvxmlAvailableFields {
|
|||
* Repeat fields
|
||||
*/
|
||||
|
||||
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$overview['links']] = array_merge(
|
||||
$availableFields[$overview['links']],
|
||||
$availableFields[$tlLoader->tl("overview", "overview", 'links')] = array_merge(
|
||||
$availableFields[$tlLoader->tl("overview", "overview", 'links')],
|
||||
[
|
||||
"link_url{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["link_show{$i}"],
|
||||
'',
|
||||
$link['url'],
|
||||
$link['linklink_explica']
|
||||
$tlLoader->tl("link", "link", 'url'),
|
||||
$tlLoader->tl("link", "link", 'linklink_explica'),
|
||||
),
|
||||
"link_show{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["link_url{$i}"],
|
||||
'',
|
||||
$link['text'],
|
||||
$link['linkname_explica']
|
||||
$tlLoader->tl("link", "link", 'text'),
|
||||
$tlLoader->tl("link", "link", 'linkname_explica'),
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object')] = array_merge(
|
||||
$availableFields[$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object')],
|
||||
$availableFields[$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object')] = array_merge(
|
||||
$availableFields[$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object')],
|
||||
[
|
||||
"linked_obj_invno{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -971,7 +961,7 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields["translations"] = array_merge(
|
||||
$availableFields["translations"],
|
||||
|
@ -1029,7 +1019,7 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'literature')] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'literature')],
|
||||
|
@ -1129,20 +1119,20 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
// Collection names
|
||||
|
||||
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data')]["collection_name{$i}"] = new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
[],
|
||||
'Use if object belongs to a collection. If collection is already in museum-digital, please use exactly the same name',
|
||||
$collection['name'],
|
||||
$collection['samnam_explica']
|
||||
$tlLoader->tl("collection", "collection", 'name'),
|
||||
$tlLoader->tl("collection", "collection", 'samnam_explica'),
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')],
|
||||
|
@ -1152,23 +1142,23 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
[],
|
||||
'',
|
||||
$link['series_name'],
|
||||
$link['seriename_explica']
|
||||
$tlLoader->tl("link", "link", 'series_name'),
|
||||
$tlLoader->tl("link", "link", 'seriename_explica'),
|
||||
),
|
||||
"object_group_description{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["object_group_name{$i}"],
|
||||
'',
|
||||
$link['series_description'],
|
||||
$link['series_description']
|
||||
$tlLoader->tl("link", "link", 'series_description'),
|
||||
$tlLoader->tl("link", "link", 'series_description'),
|
||||
),
|
||||
"object_group_show{$i}" => new FieldEntry(
|
||||
false,
|
||||
["y", "n"],
|
||||
["object_group_name{$i}"],
|
||||
'',
|
||||
$link['hide_objectgroup'],
|
||||
$tlLoader->tl("link", "link", 'hide_objectgroup'),
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1176,30 +1166,30 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$overview['tags']]["tag{$i}"] = new FieldEntry(
|
||||
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag{$i}"] = new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
[],
|
||||
'',
|
||||
$overview['tags'],
|
||||
""
|
||||
$tlLoader->tl("overview", "overview", 'tags'),
|
||||
"",
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$eventname[22]] = array_merge(
|
||||
$availableFields[$eventname[22]],
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "22")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "22")],
|
||||
[
|
||||
"related_place{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["related_place_sure{$i}"],
|
||||
'',
|
||||
$event['where'],
|
||||
$tlLoader->tl("event", "event", 'where'),
|
||||
""
|
||||
),
|
||||
"related_place_sure{$i}" => new FieldEntry(
|
||||
|
@ -1207,7 +1197,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["related_place{$i}"],
|
||||
'',
|
||||
"{$event['where']} [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1215,17 +1205,17 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$eventname[23]] = array_merge(
|
||||
$availableFields[$eventname[23]],
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "23")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "23")],
|
||||
[
|
||||
"related_actor{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["related_actor_sure{$i}"],
|
||||
'',
|
||||
$event['who'],
|
||||
$tlLoader->tl("event", "event", 'who'),
|
||||
""
|
||||
),
|
||||
"related_actor_sure{$i}" => new FieldEntry(
|
||||
|
@ -1233,7 +1223,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["related_actor{$i}"],
|
||||
'',
|
||||
"{$event['who']} [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'who') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
"related_actor_gnd{$i}" => new FieldEntry(
|
||||
|
@ -1241,7 +1231,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
["related_actor{$i}", "related_actor_sure{$i}"],
|
||||
'',
|
||||
"{$event['who']} ({$event['gnd']})",
|
||||
$tlLoader->tl("event", "event", 'who') . " (" . $tlLoader->tl("event", "event", 'gnd') . ")",
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1249,17 +1239,17 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$eventname[24]] = array_merge(
|
||||
$availableFields[$eventname[24]],
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "24")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("eventtype_name", "eventname", "24")],
|
||||
[
|
||||
"related_time{$i}" => new FieldEntry(
|
||||
false,
|
||||
[],
|
||||
["related_time_sure{$i}"],
|
||||
'',
|
||||
$event['when'],
|
||||
$tlLoader->tl("event", "event", 'when'),
|
||||
""
|
||||
),
|
||||
"related_time_sure{$i}" => new FieldEntry(
|
||||
|
@ -1267,7 +1257,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["related_time{$i}"],
|
||||
'',
|
||||
$event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'when') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1275,10 +1265,10 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$overview['images']] = array_merge(
|
||||
$availableFields[$overview['images']],
|
||||
$availableFields[$tlLoader->tl('overview', 'overview', 'images')] = array_merge(
|
||||
$availableFields[$tlLoader->tl('overview', 'overview', 'images')],
|
||||
[
|
||||
"image_name{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1297,8 +1287,8 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$image_incha['image_description'],
|
||||
$image_incha['bildbesch_explica']
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'image_description'),
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'bildbesch_explica'),
|
||||
),
|
||||
"image_owner{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1307,8 +1297,8 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$image_incha['image_rightsholder'],
|
||||
$image_incha['owner_explica']
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'image_rightsholder'),
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'owner_explica'),
|
||||
),
|
||||
"image_creator{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1317,8 +1307,8 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$image_incha['photographer'],
|
||||
$image_incha['creator_explica']
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'photographer'),
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'creator_explica'),
|
||||
),
|
||||
"image_rights{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1327,8 +1317,8 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_visible{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$image_incha['rights_status'],
|
||||
$image_incha['rechte_explica']
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'rights_status'),
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'rechte_explica'),
|
||||
),
|
||||
"image_visible{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1337,7 +1327,7 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$tlLoader->tl("basis", "basis", 'image') . ": {$objekt['visibility']}",
|
||||
$tlLoader->tl("basis", "basis", 'image') . ": " . $tlLoader->tl("object", "objekt", 'visibility'),
|
||||
""
|
||||
),
|
||||
"image_main{$i}" => new FieldEntry(
|
||||
|
@ -1347,7 +1337,7 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}"
|
||||
],
|
||||
'',
|
||||
$object['main_image'],
|
||||
$tlLoader->tl("object", "object", 'main_image'),
|
||||
""
|
||||
),
|
||||
"image_master_filename{$i}" => new FieldEntry(
|
||||
|
@ -1357,15 +1347,15 @@ final class CsvxmlAvailableFields {
|
|||
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
|
||||
],
|
||||
'',
|
||||
$image_incha['master_filename'],
|
||||
$image_incha['master_filename_explica']
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'master_filename'),
|
||||
$tlLoader->tl('image_incha', 'image_incha', 'master_filename_explica'),
|
||||
),
|
||||
]
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'resource')] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'resource')],
|
||||
|
@ -1377,7 +1367,7 @@ final class CsvxmlAvailableFields {
|
|||
"resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'Allowed values: image, text, video, audio',
|
||||
$tlLoader->tl("basis", "basis", 'resource') . ', ' . $tlSources['type'],
|
||||
$tlLoader->tl("basis", "basis", 'resource') . ', ' . $tlLoader->tl("sources", "tlSources", 'type'),
|
||||
""
|
||||
),
|
||||
"resource_fileformat{$i}" => new FieldEntry(
|
||||
|
@ -1397,7 +1387,7 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'In case the resource is stored externally: please include the whole path (incl. http or https) to the file. If the resource is uploaded to museum-digital: please put the filename here (e.g. file.pdf)',
|
||||
$resource_incha['image_filename'],
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'image_filename'),
|
||||
""
|
||||
),
|
||||
"resource_name{$i}" => new FieldEntry(
|
||||
|
@ -1407,8 +1397,8 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'Use, if you want to give the resource an own name. If not, you might want to repeat the object_title',
|
||||
$resource_incha['resource_name'],
|
||||
$resource_incha['bildname_explica']
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'resource_name'),
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'bildname_explica'),
|
||||
),
|
||||
"resource_description{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1417,8 +1407,8 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'',
|
||||
$resource_incha['resource_description'],
|
||||
$resource_incha['bildbesch_explica']
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'resource_description'),
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'bildbesch_explica'),
|
||||
),
|
||||
"resource_owner{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1427,8 +1417,8 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'The owner should be named. Usually it is the institution uploading the resource.',
|
||||
$resource_incha['resource_rightsholder'],
|
||||
$resource_incha['owner_explica']
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'resource_rightsholder'),
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'owner_explica'),
|
||||
),
|
||||
"resource_creator{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1437,8 +1427,8 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'Name of the person that created the resource. Might be left empty.',
|
||||
$resource_incha['creator'],
|
||||
$resource_incha['creator_explica']
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'creator'),
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'creator_explica')
|
||||
),
|
||||
"resource_rights{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1447,8 +1437,8 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_visible{$i}",
|
||||
],
|
||||
'',
|
||||
$resource_incha['rights_status'],
|
||||
$resource_incha['rechte_explica']
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'rights_status'),
|
||||
$tlLoader->tl("resource_incha", "resource_incha", 'rechte_explica'),
|
||||
),
|
||||
"resource_visible{$i}" => new FieldEntry(
|
||||
false,
|
||||
|
@ -1457,7 +1447,7 @@ final class CsvxmlAvailableFields {
|
|||
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}",
|
||||
],
|
||||
'Should the resource be publicly visible? Allowed values are either y and n',
|
||||
$tlLoader->tl("basis", "basis", 'resource') . ": {$objekt['visibility']}",
|
||||
$tlLoader->tl("basis", "basis", 'resource') . ": " . $tlLoader->tl("object", "objekt", 'visibility'),
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1465,35 +1455,35 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "1"), "production", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "2"), "finding", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "3"), "publication", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "4"), "template_creation", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
|
@ -1503,7 +1493,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
["was_depicted_who_sure{$i}"],
|
||||
'',
|
||||
$event['who'],
|
||||
$tlLoader->tl("event", "event", 'who'),
|
||||
""
|
||||
),
|
||||
"was_depicted_who_sure{$i}" => new FieldEntry(
|
||||
|
@ -1511,7 +1501,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["was_depicted_who{$i}"],
|
||||
'',
|
||||
$event['who'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'who') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
)
|
||||
]
|
||||
|
@ -1519,7 +1509,7 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
|
@ -1529,7 +1519,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
["was_depicted_place_sure{$i}"],
|
||||
'',
|
||||
$event['where'],
|
||||
$tlLoader->tl("event", "event", 'where'),
|
||||
""
|
||||
),
|
||||
"was_depicted_place_sure{$i}" => new FieldEntry(
|
||||
|
@ -1537,7 +1527,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["was_depicted_place{$i}"],
|
||||
'',
|
||||
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
]
|
||||
|
@ -1545,196 +1535,196 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "6"), "was_used", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "7"), "written", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "8"), "collected", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "9"), "painted", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "10"), "taken", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "11"), "received", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "12"), "printing_plate_produced", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "13"), "sent", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "14"), "issued", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "15"), "signed", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "16"), "type_described", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "19"), "drawn", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "20"), "copied", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "25"), "commissioned", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "26"), "printed", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "27"), "spoken", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]],
|
||||
$this->_generateGenericFullEvent($tlLoader, $eventname[28], "sung", $i)
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "28")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "28")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "28"), "sung", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "29"), "decor_designed", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "30"), "form_designed", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "31"), "modelled", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "32"), "signed_artwork", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "33"), "was_mentioned", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "34"), "buried", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "35"), "intellectual_creation", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "37"), "painted_on", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "38"), "illustrated", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "39"), "assembled", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "40"), "auctioned", $i)
|
||||
|
@ -1743,42 +1733,42 @@ final class CsvxmlAvailableFields {
|
|||
|
||||
// 41: Bought, and 42: Owned, and 43: Sold are skipped for now
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "44"), "restorated", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "45"), "damaged", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "46"), "destroyed", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "47"), "lost", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")] = array_merge(
|
||||
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")],
|
||||
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "48"), "edited", $i)
|
||||
);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) {
|
||||
for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $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")],
|
||||
|
@ -1788,7 +1778,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
["has_lived_when_sure{$i}"],
|
||||
'',
|
||||
$event['when'],
|
||||
$tlLoader->tl("event", "event", 'when'),
|
||||
""
|
||||
),
|
||||
"has_lived_when_sure{$i}" => new FieldEntry(
|
||||
|
@ -1796,7 +1786,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["has_lived_when{$i}"],
|
||||
'',
|
||||
$event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'when') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
"has_lived_where{$i}" => new FieldEntry(
|
||||
|
@ -1804,7 +1794,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
["has_lived_where_sure{$i}"],
|
||||
'',
|
||||
$event['where'],
|
||||
$tlLoader->tl("event", "event", 'where'),
|
||||
""
|
||||
),
|
||||
"has_lived_where_sure{$i}" => new FieldEntry(
|
||||
|
@ -1812,7 +1802,7 @@ final class CsvxmlAvailableFields {
|
|||
["y", "n"],
|
||||
["has_lived_where{$i}"],
|
||||
'',
|
||||
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
$tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
|
||||
""
|
||||
),
|
||||
"has_lived_annotation{$i}" => new FieldEntry(
|
||||
|
@ -1820,7 +1810,7 @@ final class CsvxmlAvailableFields {
|
|||
[],
|
||||
[],
|
||||
'',
|
||||
$event['classic_annotation_intro'],
|
||||
$tlLoader->tl("event", "event", 'classic_annotation_intro'),
|
||||
""
|
||||
),
|
||||
]
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user