getUser(true, array('join' => array( 'groups_owned' ))); return array( 'groups' => $user->getGroupsOwned() ); } }