[TYPO3-english] Re: Re: FrontendUserRepository in custom extension
Siva Prasad
sivaprasad.s at pitsolutions.com
Fri Dec 26 09:00:10 CET 2014
Hello David,
Thanks for the help .
But I have manged to fix it by myself . But I am not sure whether this is the right approach or not
$query = $this->objectManager->get("\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository");
$querySettings = $query->createQuery()->getQuerySettings();
$querySettings->setStoragePageIds(array(37));
$query->setDefaultQuerySettings($querySettings);
$query->findAll();
BR
Siva
More information about the TYPO3-english
mailing list