TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository Class Reference
Inheritance diagram for TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository:
TYPO3\CMS\Extbase\Persistence\Repository TYPO3\CMS\Extbase\Persistence\RepositoryInterface TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 findByBackendUser (\TYPO3\CMS\Beuser\Domain\Model\BackendUser $backendUser)
 
 switchBackToOriginalUser (\TYPO3\CMS\Core\Authentication\AbstractUserAuthentication $authentication)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Persistence\Repository
 __construct (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 add ($object)
 
 remove ($object)
 
 replace ($existingObject, $newObject)
 
 update ($modifiedObject)
 
 findAll ()
 
 countAll ()
 
 removeAll ()
 
 findByUid ($uid)
 
 findByIdentifier ($identifier)
 
 setDefaultOrderings (array $defaultOrderings)
 
 setDefaultQuerySettings (\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings)
 
 createQuery ()
 
 __call ($methodName, $arguments)
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Extbase\Persistence\Repository
 getRepositoryClassName ()
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Persistence\Repository
 $identityMap
 
 $backend
 
 $session
 
 $persistenceManager
 
 $objectManager
 
 $objectType
 
 $defaultOrderings = array()
 
 $defaultQuerySettings = NULL
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Repository for

Author
Felix Kopp felix.nosp@m.-sou.nosp@m.rce@p.nosp@m.hora.nosp@m.x.com
Pascal Dürsteler pasca.nosp@m.l@no.nosp@m.tionl.nosp@m.ab.c.nosp@m.h

Definition at line 23 of file BackendUserSessionRepository.php.

Member Function Documentation

◆ findByBackendUser()

TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository::findByBackendUser ( \TYPO3\CMS\Beuser\Domain\Model\BackendUser  $backendUser)

Find Sessions for specific BackendUser Delivers an Array, not an ObjectStorage!

Parameters
\TYPO3\CMS\Beuser\Domain\Model\BackendUser$backendUser
Returns
array

Definition at line 32 of file BackendUserSessionRepository.php.

References $GLOBALS.

◆ switchBackToOriginalUser()

TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository::switchBackToOriginalUser ( \TYPO3\CMS\Core\Authentication\AbstractUserAuthentication  $authentication)

Update current session to move back to the original user.

Parameters
\TYPO3\CMS\Core\Authentication\AbstractUserAuthentication$authentication
Returns
void

Definition at line 58 of file BackendUserSessionRepository.php.

References $GLOBALS.