PHP 클래스 Contao\CoreBundle\EventListener\StoreRefererListener

상속: use trait Contao\CoreBundle\Framework\ScopeAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $authenticationTrustResolver ) Constructor.
onKernelResponse ( FilterResponseEvent $event ) Stores the referer in the session.

비공개 메소드들

메소드 설명
canModifyBackendSession ( Request $request ) : boolean Checks if the back end session can be modified.
canModifyFrontendSession ( Request $request, array $referer = null ) : boolean Checks if the front end session can be modified.
getRelativeRequestUri ( Request $request ) : string Returns the current request URI relative to the base path.
prepareBackendReferer ( string $refererId, array $referers = null ) : array Prepares the back end referer array.
storeBackendReferer ( Request $request ) Stores the back end referer.
storeFrontendReferer ( Request $request ) Stores the front end referer.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $authenticationTrustResolver )
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authenticationTrustResolver Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface

onKernelResponse() 공개 메소드

Stores the referer in the session.
public onKernelResponse ( FilterResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterResponseEvent

프로퍼티 상세

$tokenStorage 보호되어 있는 프로퍼티

protected TokenStorageInterface,Symfony\Component\Security\Core\Authentication\Token\Storage $tokenStorage
리턴 Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface