[TYPO3-mvc] How to manually overwrite storagePid for certain repositories?
roberto blanko
robertoblanko at gmail.com
Tue May 25 14:42:07 CEST 2010
Okay, Sebastian, cool. Thanks for you detailed description of the behavior.
I'll use
newRecordStoragePid to 'surround' my problem. But wouldn't something like
plugin.tx_[myExtension].
persistence.classes.[fullClassName].defaultStoragePid come in handy?
My sysfolder structure looks something like this, Class names in brackets:
-- User data
---- Users (Tx_MyExt_Domain_Model_User extends
Tx_Extbase_Domain_Model_FrontendUser)
---- Companies (Tx_MyExt_Domain_Model_Company)
---- Usage data
------ Subgroup 1 (Tx_MyExt_Domain_Model_Data)
------ Subgroup 2 (Tx_MyExt_Domain_Model_Data)
My controller user 3 repositories to fetch the data for Users, Companies and
Data of one subgroup. In order for this to work I need to assign 3 starting
points to the plugin: Users, Companies and Subgroup 1. I cannot set User
data recursivly, cause then data from Subgroup 2 would also be fetched.
The problem here: If there were any records of type
Tx_MyExt_Domain_Model_Data either in sysfolder Users or Companies, these
would be fetched as well.
More information about the TYPO3-project-typo3v4mvc
mailing list