[TYPO3-mvc] magic methodes for fe_user
Chris Wolff - AERTiCKET AG
cwolff at aer.de
Thu Mar 26 14:12:26 CET 2015
Hi Daniel,
im not shure but i think the methods are Only findByUsername and findByEmail
so just without the "One" keyword.
Regards chris
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Daniel V??lkel
Gesendet: Donnerstag, 26. März 2015 13:01
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: [TYPO3-mvc] magic methodes for fe_user
Hi everybody,
I am using the FeUserRepository in my extension. So far, I only used findByIdentifier() to access my objects via the fe_user, which worked fine.
Now I wanted to add the possibility to search by email or username. Unfortunately, the returned objects are empty when I use findOneByUsername() or findOneByEmail().
Do you have idea what I'm doing wrong?
Best regards,
Dan
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list