[+TASK] Extbase (DomainObject): Added a "private" property _localizationParentUid...
authorJochen Rau <j.rau@web.de>
Tue, 2 Mar 2010 15:49:26 +0000 (15:49 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 2 Mar 2010 15:49:26 +0000 (15:49 +0000)
commit4adf097f8d7f7c9d5e89b4c191896746d0ac1dd1
treee9f5be218cdda7abb419437e32f5e778dc0b5de5
parentdda936cff07b6c849683d49bbae012c2675030ee
[+TASK] Extbase (DomainObject): Added a "private" property _localizationParentUid to the AbstractDomainObject which is set to the uid of the sys_language_parent.
[+CONFIGURATION] Extbase (Persistence): Added a new flag respectSysLanguage to the Typoe3QuerySettings (TRUE by default). If it is set to true a "sys_language_uid IN (-1,0)" query part will be added if applicable.
[~TASK] Extbase (Persistence): Refactored getRows() and countRows() to avoid unnecessary calls to doLanguageAndWorkspaceOverlay().
[!!!][+FEATURE] Extbase (Persistence): It's now possible to edit localized domain models in the FE. Changes will be stored to the correct database row. This changes the behavior of mapping the uid to DomainObjects. The uid is now the "real" uid of the localized database tuple instead of the sys_language_parent. This may influence the $_GET parameters of cached pages as the uid is often part of the URI. Resolves #4639.
[~TASK] Extbase (Persistence): Added $query->getQuerySettings()->setRespectSysLanguage(FALSE); to all methods fetching an object "byUid".
[~TASK] Extbase (Persistence): Changed method signatures to Tx_Extbase_DomainObject_DomainObjectInterface instead of Tx_Extbase_DomainObject_AbstractEnty.
typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
typo3/sysext/extbase/Classes/Persistence/Backend.php
typo3/sysext/extbase/Classes/Persistence/LazyLoadingProxy.php
typo3/sysext/extbase/Classes/Persistence/LazyObjectStorage.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/Repository.php
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Typo3QuerySettings.php
typo3/sysext/extbase/Classes/Persistence/Typo3QuerySettingsInterface.php
typo3/sysext/extbase/Classes/Property/Mapper.php