[TYPO3-mvc] Blog Example and Value Object question

Franz Koch typo3.RemoveForMessage at elements-net.de
Wed Dec 30 16:59:45 CET 2009


Hi Jochen,

>> What do you think? If you think this would be a good idea, we should
>> think of a proper method name and provide a generic
>> "findByMultipleProperties" in the abstractRepository of extbase as a)
>> usefull addition and b) as a reference for other methods of this type.
>
>
> What about findByCriteria(Tx_MyExtension_Domain_Model_Criteria
> $criteria) if that suits the Domain?

sounds good to me, but how would/could a criteria look like then? Should 
this already contain valid constraints, or just some basic array with 
constraint definitions for further processing inside the repository method?

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-project-typo3v4mvc mailing list