Hallo Johannes,

wenn du noch keine Lösung für dein Problem gefunden hast hilft dir
sicher das hier weiter:
http://www.derhansen.de/2012/06/zugriff-auf-frontend-user-tabelle-aus.html

Gruß,
Andi

On 24.06.2014 15:07, Johannes C. Schulz - EnzephaloN IT-Solutions wrote:
> Hallo typo3-Freunde
>
>  
>
> Ich habe gerade ein Problem, daß ich in meinem aRepository nicht auf ein
> bRepository zugreifen kann:
>
> class ARepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
>
>                 /**
>
>                 * userRepository
>
>                 *
>
>                 * @var
> \TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository
>
>                 * @inject
>
>                 */
>
>                 protected $userRepository = NULL;
>
>                 
>
>                 public function irgendwas($name){
>
>  
> $this->userRepository->countByUsername($name);
>
>                 }
>
> }
>
>  
>
> Dies wirft den Fehler “called countByUsername on non-object”. 
>
>  
>
> Wie muß ich das richtig machen???
>
>  
>
> Danke
>
> Johannes
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an