993e38d88e11970fa37b6b6a2ca50c795a10addd
[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\BackendUser {
42                                 mapping {
43                                         tableName = be_users
44                                         columns {
45                                                 username.mapOnProperty = userName
46                                                 admin.mapOnProperty = isAdministrator
47                                                 disable.mapOnProperty = isDisabled
48                                                 realName.mapOnProperty = realName
49                                                 starttime.mapOnProperty = startDateAndTime
50                                                 endtime.mapOnProperty = endDateAndTime
51                                                 disableIPlock.mapOnProperty = ipLockIsDisabled
52                                                 lastlogin.mapOnProperty = lastLoginDateAndTime
53                                                 file_mountpoints.mapOnProperty = fileMounts
54                                         }
55                                 }
56                         }
57                         TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup {
58                                 mapping {
59                                         tableName = be_groups
60                                         columns {
61                                                 subgroup.mapOnProperty = subGroups
62                                                 groupMods.mapOnProperty = modules
63                                                 tables_select.mapOnProperty = tablesListening
64                                                 tables_modify.mapOnProperty = tablesModify
65                                                 pagetypes_select.mapOnProperty = pageTypes
66                                                 non_exclude_fields.mapOnProperty = allowedExcludeFields
67                                                 explicit_allowdeny.mapOnProperty = explicitlyAllowAndDeny
68                                                 allowed_languages.mapOnProperty = allowedLanguages
69                                                 workspace_perms.mapOnProperty = workspacePermission
70                                                 db_mountpoints.mapOnProperty = databaseMounts
71                                                 fileoper_perms.mapOnProperty = fileOperationPermissions
72                                                 lockToDomain.mapOnProperty = lockToDomain
73                                                 hide_in_lists.mapOnProperty = hideInList
74                                                 TSconfig.mapOnProperty = tsConfig
75                                         }
76                                 }
77                         }
78                         TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
79                                 mapping {
80                                         tableName = fe_users
81                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUser
82                                         columns {
83                                                 lockToDomain.mapOnProperty = lockToDomain
84                                         }
85                                 }
86                         }
87                         TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
88                                 mapping {
89                                         tableName = fe_groups
90                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
91                                         columns {
92                                                 lockToDomain.mapOnProperty = lockToDomain
93                                         }
94                                 }
95                         }
96                         TYPO3\CMS\Extbase\Domain\Model\Category {
97                                 mapping {
98                                         tableName = sys_category
99                                 }
100                         }
101                 }
102         }
103         features {
104                  # this enables/disables the reworked property mapper (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/PropertyMapper_rework)
105                 rewrittenPropertyMapper = 0
106                  # 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)
107                 skipDefaultArguments = 0
108                 # if set to 1, the enable fields are ignored in BE context
109                 ignoreAllEnableFieldsInBe = 0
110         }
111 }