forked from fnagel/generic-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_typoscript_setup.txt
38 lines (37 loc) · 972 Bytes
/
ext_typoscript_setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# table & field mapping
config.tx_extbase {
persistence {
classes {
TYPO3\GenericGallery\Domain\Model\GalleryItem {
mapping {
tableName = tx_generic_gallery_pictures
columns {
sorting.mapOnProperty = sorting
tstamp.mapOnProperty = tstamp
deleted.mapOnProperty = deleted
hidden.mapOnProperty = hidden
title.mapOnProperty = title
link.mapOnProperty = link
images.mapOnProperty = imageReference
contents.mapOnProperty = textItems
tt_content_id.mapOnProperty = ttContentUid
}
}
}
TYPO3\GenericGallery\Domain\Model\TextItem {
mapping {
tableName = tx_generic_gallery_content
columns {
sorting.mapOnProperty = sorting
tstamp.mapOnProperty = tstamp
deleted.mapOnProperty = deleted
hidden.mapOnProperty = hidden
bodytext.mapOnProperty = bodytext
position.mapOnProperty = position
width.mapOnProperty = width
}
}
}
}
}
}