[TYPO3-mvc] fe_users->getUsergroup() is empty
Martin Ernst
ernst at alto.de
Wed Jan 4 16:33:24 CET 2012
Hello,
I have extended the fe_users table in my extension with a customer
object model. I want to get the usergroup(s) by $this->getUsergroup() in
that model.
Whatever I do and regardless of the number of FE usergroups a customer
is in (in fact each customer is in at least 1 group), the usergroups
ObjectStorage I get is always empty.
The getter looks like
public function isTest(){
$groups = $this->getUsergroup();
...
}
$groups->count() is always 0 while $this->getUsername() gets the correct
username.
Any hints very welcome.
Martin
More information about the TYPO3-project-typo3v4mvc
mailing list