‪TYPO3CMS  ‪main
UserService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
26 {
28 
29  public function ‪__construct()
30  {
31  $this->feUser = ‪$GLOBALS['TSFE']->fe_user;
32  }
33 
37  public function ‪getFeUserData(): array
38  {
39  return $this->feUser->user;
40  }
41 
42  public function ‪getFeUserGroupData(): array
43  {
44  return $this->feUser->userGroups;
45  }
46 
47  public function ‪getFeUserTable(): string
48  {
49  return $this->feUser->user_table;
50  }
51 
52  public function ‪getFeUserGroupTable(): string
53  {
54  return $this->feUser->usergroup_table;
55  }
56 
57  public function ‪getFeUserIdColumn(): string
58  {
59  return $this->feUser->userid_column;
60  }
61 }
‪TYPO3\CMS\FrontendLogin\Service\UserService\getFeUserIdColumn
‪getFeUserIdColumn()
Definition: UserService.php:57
‪TYPO3\CMS\FrontendLogin\Service\UserService\getFeUserGroupData
‪getFeUserGroupData()
Definition: UserService.php:42
‪TYPO3\CMS\FrontendLogin\Service
Definition: RecoveryService.php:18
‪TYPO3\CMS\FrontendLogin\Service\UserService\$feUser
‪FrontendUserAuthentication $feUser
Definition: UserService.php:27
‪TYPO3\CMS\FrontendLogin\Service\UserService
Definition: UserService.php:26
‪TYPO3\CMS\FrontendLogin\Service\UserService\__construct
‪__construct()
Definition: UserService.php:29
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\FrontendLogin\Service\UserService\getFeUserTable
‪getFeUserTable()
Definition: UserService.php:47
‪TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication
Definition: FrontendUserAuthentication.php:33
‪TYPO3\CMS\FrontendLogin\Service\UserService\getFeUserGroupTable
‪getFeUserGroupTable()
Definition: UserService.php:52
‪TYPO3\CMS\FrontendLogin\Service\UserService\getFeUserData
‪getFeUserData()
Definition: UserService.php:37