1044586dd7df978a913a545a5d95a38a45050ef1
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / ext_typoscript_setup.txt
1 config.tx_extbase {
2         objects {
3                 TYPO3\CMS\Extbase\Persistence\QueryInterface {
4                         className = TYPO3\CMS\Extbase\Persistence\Generic\Query
5                 }
6                 TYPO3\CMS\Extbase\Persistence\QueryResultInterface {
7                         className = TYPO3\CMS\Extbase\Persistence\Generic\QueryResult
8                 }
9                 TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface {
10                         className = TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager
11                 }
12                 TYPO3\CMS\Extbase\Persistence\Generic\Storage\BackendInterface {
13                         className = TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend
14                 }
15                 TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface {
16                         className = TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings
17                 }
18         }
19         mvc {
20                 requestHandlers {
21                         TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
22                         TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler
23                         TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler = TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler
24                 }
25                 throwPageNotFoundExceptionIfActionCantBeResolved = 0
26         }
27         persistence{
28                 enableAutomaticCacheClearing = 1
29                 updateReferenceIndex = 0
30                 classes {
31                         TYPO3\CMS\Extbase\Domain\Model\FileMount {
32                                 mapping {
33                                         tableName = sys_filemounts
34                                         columns {
35                                                 title.mapOnProperty = title
36                                                 path.mapOnProperty = path
37                                                 base.mapOnProperty = isAbsolutePath
38                                         }
39                                 }
40                         }
41                         TYPO3\CMS\Extbase\Domain\Model\FileReference {
42                                 mapping {
43                                         tableName = sys_file_reference
44                                 }
45                         }
46                         TYPO3\CMS\Extbase\Domain\Model\BackendUser {
47                                 mapping {
48                                         tableName = be_users
49                                         columns {
50                                                 username.mapOnProperty = userName
51                                                 admin.mapOnProperty = isAdministrator
52                                                 usergroup.mapOnProperty = backendUserGroups
53                                                 disable.mapOnProperty = isDisabled
54                                                 realName.mapOnProperty = realName
55                                                 starttime.mapOnProperty = startDateAndTime
56                                                 endtime.mapOnProperty = endDateAndTime
57                                                 disableIPlock.mapOnProperty = ipLockIsDisabled
58                                                 lastlogin.mapOnProperty = lastLoginDateAndTime
59                                                 file_mountpoints.mapOnProperty = fileMounts
60                                         }
61                                 }
62                         }
63                         TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup {
64                                 mapping {
65                                         tableName = be_groups
66                                         columns {
67                                                 subgroup.mapOnProperty = subGroups
68                                                 groupMods.mapOnProperty = modules
69                                                 tables_select.mapOnProperty = tablesListening
70                                                 tables_modify.mapOnProperty = tablesModify
71                                                 pagetypes_select.mapOnProperty = pageTypes
72                                                 non_exclude_fields.mapOnProperty = allowedExcludeFields
73                                                 explicit_allowdeny.mapOnProperty = explicitlyAllowAndDeny
74                                                 allowed_languages.mapOnProperty = allowedLanguages
75                                                 workspace_perms.mapOnProperty = workspacePermission
76                                                 db_mountpoints.mapOnProperty = databaseMounts
77                                                 fileoper_perms.mapOnProperty = fileOperationPermissions
78                                                 lockToDomain.mapOnProperty = lockToDomain
79                                                 hide_in_lists.mapOnProperty = hideInList
80                                                 TSconfig.mapOnProperty = tsConfig
81                                         }
82                                 }
83                         }
84                         TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
85                                 mapping {
86                                         tableName = fe_users
87                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUser
88                                         columns {
89                                                 lockToDomain.mapOnProperty = lockToDomain
90                                         }
91                                 }
92                         }
93                         TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
94                                 mapping {
95                                         tableName = fe_groups
96                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
97                                         columns {
98                                                 lockToDomain.mapOnProperty = lockToDomain
99                                         }
100                                 }
101                         }
102                         TYPO3\CMS\Extbase\Domain\Model\Category {
103                                 mapping {
104                                         tableName = sys_category
105                                 }
106                         }
107                 }
108         }
109         features {
110                  # this enables/disables the reworked property mapper (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/PropertyMapper_rework)
111                 rewrittenPropertyMapper = 0
112                  # 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)
113                 skipDefaultArguments = 0
114                 # if set to 1, the enable fields are ignored in BE context
115                 ignoreAllEnableFieldsInBe = 0
116         }
117 }