[TYPO3-mvc] DAM in ExtBase

S.Korth s.korth at dms-arts.com
Thu May 20 19:56:44 CEST 2010


> I simply try to get all tx_dam-entries out of the database. So I 
> extended your Model (Tx_ExtbaseDam_Domain_Model_Dam), set up a 
> repository and a simple fetchAll()

Hey Chritian, i think you can just use the static methods within 
Tx_ExtbaseDam_Utility_Dam.

I think you get the error because of missing TCA config when using a 
repository.

Instead use: Tx_ExtbaseDam_Utility_Dam::get(.......);


This returns for example Dam Objects.

More Infos:

http://forge.typo3.org/repositories/entry/extension-extbase_dam/trunk/Classes/Utility/Dam.php









More information about the TYPO3-project-typo3v4mvc mailing list