[TYPO3-mvc] Map table as model
Dawid Pacholczyk
dpacholczyk at gmail.com
Wed Mar 2 10:39:20 CET 2011
Hello List,
I would like to map an existing table as my own model in my ext.
I would like to have in my ext an model "BeUser"
So I did this ts in my setup.txt
plugin.tx_ext {
persistence {
storagePid = 5
classes {
Tx_Ext_Domain_Model_BeUser {
mapping {
tableName = be_users
recordType = Tx_Ext_Domain_Model_BeUser
}
}
}
}
}
I`ve created a model and repository but I get nothing when i user
$berepo->findAll()
what am I doing wrong ?
Best regards,
Dawid Pacholczyk
More information about the TYPO3-project-typo3v4mvc
mailing list