[TYPO3-english] Different storagePid handling for findAll() and findByUid()?
xavier at typo3.org
Fri Nov 29 12:18:31 CET 2013
>> the default behaviour of findByUid is to find by uid and nothing else.
>> if you don't want that, implement it yourself with checking the pid as
> Fine, thanks for your reply! Good to know.
> I've assumed that the storagePid setting would act for a repository in
> general. So, if a storagePid is set, all repository's methods would
> respect this. Isn't it a little bit confusing?
No, because if you ask for a particular object, you know what you do as
UID is unique, it wouldn't make much sense to filter the "list" (of a
single element anyway) with the storage.
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-english