mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 01:36:11 +01:00
477 lines
15 KiB
PHP
477 lines
15 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'pages' => [
|
|
[
|
|
'pid' => '0',
|
|
'uid' => '1',
|
|
'title' => 'Root page',
|
|
'slug' => '1',
|
|
'media' => '1',
|
|
],
|
|
[
|
|
'pid' => '1',
|
|
'uid' => '2',
|
|
'title' => 'Storage',
|
|
'doktype' => '254',
|
|
],
|
|
],
|
|
'sys_category' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'title' => 'Example Category 1',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '2',
|
|
'title' => 'Example Category 2',
|
|
],
|
|
],
|
|
'sys_category_record_mm' => [
|
|
[
|
|
'uid_local' => '1',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
],
|
|
[
|
|
'uid_local' => '2',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
],
|
|
[
|
|
'uid_local' => '2',
|
|
'uid_foreign' => '2',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
],
|
|
],
|
|
'sys_file_storage' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '0',
|
|
'tstamp' => '1423209858',
|
|
'crdate' => '1370878372',
|
|
'deleted' => '0',
|
|
'name' => 'fileadmin/ (auto-created)',
|
|
'description' => 'This is the local fileadmin/ directory. This storage mount has been created automatically by TYPO3.',
|
|
'driver' => 'Local',
|
|
'configuration' => '<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<T3FlexForms>
|
|
<data>
|
|
<sheet index="sDEF">
|
|
<language index="lDEF">
|
|
<field index="basePath">
|
|
<value index="vDEF">fileadmin/</value>
|
|
</field>
|
|
<field index="pathType">
|
|
<value index="vDEF">relative</value>
|
|
</field>
|
|
<field index="caseSensitive">
|
|
<value index="vDEF">1</value>
|
|
</field>
|
|
</language>
|
|
</sheet>
|
|
</data>
|
|
</T3FlexForms>
|
|
',
|
|
'is_browsable' => '1',
|
|
'is_public' => '1',
|
|
'is_writable' => '1',
|
|
'is_online' => '1',
|
|
'processingfolder' => '_processed_',
|
|
'is_default' => '1',
|
|
'auto_extract_metadata' => '1',
|
|
],
|
|
],
|
|
'sys_file' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-for-event.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'ext_icon.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-for-partner.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'ext_icon.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
[
|
|
'uid' => '3',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-for-future-event.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'ext_icon.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
[
|
|
'uid' => '4',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-to-keep.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'example-to-keep.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
[
|
|
'uid' => '5',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-for-no-longer-used.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'example-for-no-longer-used.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
[
|
|
'uid' => '6',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'type' => '2',
|
|
'storage' => '1',
|
|
'identifier' => '/user_uploads/example-events-image-used-somewhere-else.gif',
|
|
'extension' => 'gif',
|
|
'mime_type' => 'image/gif',
|
|
'name' => 'example-events-image-used-somewhere-else.gif',
|
|
'sha1' => '359ae0fb420fe8afe1a8b8bc5e46d75090a826b9',
|
|
'size' => '637',
|
|
'creation_date' => '1370877201',
|
|
'modification_date' => '1369407629',
|
|
'last_indexed' => '0',
|
|
'missing' => '0',
|
|
'metadata' => '0',
|
|
'identifier_hash' => '475768e491580fb8b74ed36c2b1aaf619ca5e11d',
|
|
'folder_hash' => 'b4ab666a114d9905a50606d1837b74d952dfd90f',
|
|
],
|
|
],
|
|
'sys_file_metadata' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '1',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '2',
|
|
],
|
|
[
|
|
'uid' => '3',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '3',
|
|
],
|
|
[
|
|
'uid' => '4',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '4',
|
|
],
|
|
[
|
|
'uid' => '5',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '5',
|
|
],
|
|
[
|
|
'uid' => '6',
|
|
'pid' => '0',
|
|
'tstamp' => '1371467047',
|
|
'crdate' => '1371467047',
|
|
'file' => '6',
|
|
],
|
|
],
|
|
'sys_file_reference' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '1',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '1',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '2',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tx_events_domain_model_partner',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '1',
|
|
],
|
|
[
|
|
'uid' => '3',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '3',
|
|
'uid_foreign' => '2',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '1',
|
|
],
|
|
[
|
|
'uid' => '4',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '1',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '4',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tt_content',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '1',
|
|
],
|
|
[
|
|
'uid' => '5',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '3',
|
|
'uid_foreign' => '3',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '1',
|
|
],
|
|
[
|
|
'uid' => '6',
|
|
'pid' => '2',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '5',
|
|
'uid_foreign' => '0',
|
|
'tablenames' => '',
|
|
'fieldname' => '',
|
|
'sorting_foreign' => '0',
|
|
],
|
|
[
|
|
'uid' => '7',
|
|
'pid' => '0',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '6',
|
|
'uid_foreign' => '0',
|
|
'tablenames' => 'pages',
|
|
'fieldname' => 'media',
|
|
'sorting_foreign' => '0',
|
|
],
|
|
[
|
|
'uid' => '8',
|
|
'pid' => '0',
|
|
'tstamp' => '1373537480',
|
|
'crdate' => '1371484347',
|
|
'deleted' => '0',
|
|
'hidden' => '0',
|
|
'sys_language_uid' => '0',
|
|
'uid_local' => '6',
|
|
'uid_foreign' => '1',
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => '2',
|
|
],
|
|
],
|
|
'tx_events_domain_model_region' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'title' => 'Example Region',
|
|
],
|
|
],
|
|
'tx_events_domain_model_partner' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'title' => 'Example Partner',
|
|
'link' => 'https://example.com',
|
|
'images' => '1',
|
|
],
|
|
],
|
|
'tx_events_domain_model_organizer' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'name' => 'Example Organizer',
|
|
'street' => 'Example Street 17',
|
|
'district' => '',
|
|
'city' => 'Example Town',
|
|
'zip' => '00101',
|
|
'phone' => '+49 2161 56 36 27 37 48 94 28',
|
|
'web' => 'https://example.com',
|
|
'email' => 'someone@example.com',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '2',
|
|
'name' => 'Example Organizer for future event',
|
|
'street' => 'Example Street 17',
|
|
'district' => '',
|
|
'city' => 'Example Town',
|
|
'zip' => '00101',
|
|
'phone' => '+49 2161 56 36 27 37 48 94 28',
|
|
'web' => 'https://example.com',
|
|
'email' => 'someone@example.com',
|
|
],
|
|
],
|
|
'tx_events_domain_model_event' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'title' => 'Example Event',
|
|
'subtitle' => 'Some further info about event',
|
|
'global_id' => '5540-34',
|
|
'slug' => '5540-34',
|
|
'organizer' => '1',
|
|
'partner' => '1',
|
|
'region' => '1',
|
|
'images' => '0',
|
|
'categories' => '2',
|
|
],
|
|
[
|
|
'uid' => '2',
|
|
'pid' => '2',
|
|
'title' => 'Example Future Event',
|
|
'subtitle' => 'Some further info about event',
|
|
'global_id' => '5540-33',
|
|
'slug' => '5540-33',
|
|
'organizer' => '2',
|
|
'partner' => '1',
|
|
'region' => '1',
|
|
'images' => '0',
|
|
'categories' => '1',
|
|
],
|
|
[
|
|
'uid' => '3',
|
|
'pid' => '2',
|
|
'title' => 'Example Event of past',
|
|
'subtitle' => 'This event will be removed, but references same image that should be kept for event 2',
|
|
'global_id' => '5540-34',
|
|
'slug' => '5540-34',
|
|
'organizer' => '0',
|
|
'partner' => '0',
|
|
'region' => '0',
|
|
'images' => '1',
|
|
'categories' => '0',
|
|
],
|
|
],
|
|
'tx_events_domain_model_date' => [
|
|
[
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'event' => '1',
|
|
'start' => '0',
|
|
'end' => '10',
|
|
'canceled' => 'no',
|
|
],
|
|
[
|
|
'uid' => '3',
|
|
'pid' => '2',
|
|
'event' => '2',
|
|
'start' => (new DateTimeImmutable())->modify('+2 days')->format('U'),
|
|
'end' => (new DateTimeImmutable())->modify('+3 days')->format('U'),
|
|
'canceled' => 'no',
|
|
],
|
|
[
|
|
'uid' => '4',
|
|
'pid' => '2',
|
|
'event' => '3',
|
|
'start' => '0',
|
|
'end' => '10',
|
|
'canceled' => 'no',
|
|
],
|
|
],
|
|
];
|