[BUGFIX] Remove ObjectMapper part from TS-Template
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / ext_typoscript_setup.txt
1 config.tx_extbase {
2         mvc {
3                 requestHandlers {
4                         TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
5                         TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler
6                         TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler = TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler
7                 }
8                 throwPageNotFoundExceptionIfActionCantBeResolved = 0
9         }
10         persistence{
11                 enableAutomaticCacheClearing = 1
12                 updateReferenceIndex = 0
13                 classes {
14                         TYPO3\CMS\Extbase\Domain\Model\FileMount {
15                                 mapping {
16                                         tableName = sys_filemounts
17                                         columns {
18                                                 title.mapOnProperty = title
19                                                 path.mapOnProperty = path
20                                                 base.mapOnProperty = isAbsolutePath
21                                         }
22                                 }
23                         }
24                         TYPO3\CMS\Extbase\Domain\Model\FileReference {
25                                 mapping {
26                                         tableName = sys_file_reference
27                                 }
28                         }
29                         TYPO3\CMS\Extbase\Domain\Model\File {
30                                 mapping {
31                                         tableName = sys_file
32                                 }
33                         }
34                         TYPO3\CMS\Extbase\Domain\Model\BackendUser {
35                                 mapping {
36                                         tableName = be_users
37                                         columns {
38                                                 username.mapOnProperty = userName
39                                                 admin.mapOnProperty = isAdministrator
40                                                 usergroup.mapOnProperty = backendUserGroups
41                                                 disable.mapOnProperty = isDisabled
42                                                 realName.mapOnProperty = realName
43                                                 starttime.mapOnProperty = startDateAndTime
44                                                 endtime.mapOnProperty = endDateAndTime
45                                                 disableIPlock.mapOnProperty = ipLockIsDisabled
46                                                 lastlogin.mapOnProperty = lastLoginDateAndTime
47                                                 file_mountpoints.mapOnProperty = fileMounts
48                                         }
49                                 }
50                         }
51                         TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup {
52                                 mapping {
53                                         tableName = be_groups
54                                         columns {
55                                                 subgroup.mapOnProperty = subGroups
56                                                 groupMods.mapOnProperty = modules
57                                                 tables_select.mapOnProperty = tablesListening
58                                                 tables_modify.mapOnProperty = tablesModify
59                                                 pagetypes_select.mapOnProperty = pageTypes
60                                                 non_exclude_fields.mapOnProperty = allowedExcludeFields
61                                                 explicit_allowdeny.mapOnProperty = explicitlyAllowAndDeny
62                                                 allowed_languages.mapOnProperty = allowedLanguages
63                                                 workspace_perms.mapOnProperty = workspacePermission
64                                                 db_mountpoints.mapOnProperty = databaseMounts
65                                                 fileoper_perms.mapOnProperty = fileOperationPermissions
66                                                 lockToDomain.mapOnProperty = lockToDomain
67                                                 hide_in_lists.mapOnProperty = hideInList
68                                                 TSconfig.mapOnProperty = tsConfig
69                                         }
70                                 }
71                         }
72                         TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
73                                 mapping {
74                                         tableName = fe_users
75                                         columns {
76                                                 lockToDomain.mapOnProperty = lockToDomain
77                                         }
78                                 }
79                         }
80                         TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
81                                 mapping {
82                                         tableName = fe_groups
83                                         columns {
84                                                 lockToDomain.mapOnProperty = lockToDomain
85                                         }
86                                 }
87                         }
88                         TYPO3\CMS\Extbase\Domain\Model\Category {
89                                 mapping {
90                                         tableName = sys_category
91                                 }
92                         }
93                 }
94         }
95         features {
96                  # this enables/disables the reworked property mapper (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/PropertyMapper_rework)
97                 rewrittenPropertyMapper = 1
98                  # if enabled, default controller and/or action is skipped when creating URIs through the URI Builder (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/Skip_default_arguments_in_URIs)
99                 skipDefaultArguments = 0
100                 # if set to 1, the enable fields are ignored in BE context
101                 ignoreAllEnableFieldsInBe = 0
102         }
103 }