PHP 클래스 Neos\Neos\Service\BackendRedirectionService

파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$domainRepository Neos\Neos\Domain\Repository\DomainRepository
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$propertyMapper Neos\Flow\Property\PropertyMapper
$session Neos\Flow\Session\SessionInterface
$siteRepository Neos\Neos\Domain\Repository\SiteRepository
$userService UserService
$workspaceRepository Neos\ContentRepository\Domain\Repository\WorkspaceRepository

공개 메소드들

메소드 설명
getAfterLoginRedirectionUri ( ActionRequest $actionRequest ) : string Returns a specific URI string to redirect to after the login; or NULL if there is none.
getAfterLogoutRedirectionUri ( ActionRequest $actionRequest ) : string Returns a specific URI string to redirect to after the logout; or NULL if there is none.

보호된 메소드들

메소드 설명
createContext ( string $workspaceName ) : ContentContext Create a ContentContext to be used for the backend redirects.
createWorkspaceAndRootNodeIfNecessary ( string $workspaceName ) : void If the specified workspace or its root node does not exist yet, the workspace and root node will be created.
getLastVisitedNode ( string $workspaceName ) : Neos\ContentRepository\Domain\Model\NodeInterface

메소드 상세

createContext() 보호된 메소드

Create a ContentContext to be used for the backend redirects.
protected createContext ( string $workspaceName ) : ContentContext
$workspaceName string
리턴 Neos\Neos\Domain\Service\ContentContext

createWorkspaceAndRootNodeIfNecessary() 보호된 메소드

This method is basically a safeguard for legacy and potentially broken websites where users might not have their own workspace yet. In a normal setup, the Domain User Service is responsible for creating and deleting user workspaces.
protected createWorkspaceAndRootNodeIfNecessary ( string $workspaceName ) : void
$workspaceName string Name of the workspace
리턴 void

getAfterLoginRedirectionUri() 공개 메소드

Returns a specific URI string to redirect to after the login; or NULL if there is none.
public getAfterLoginRedirectionUri ( ActionRequest $actionRequest ) : string
$actionRequest Neos\Flow\Mvc\ActionRequest
리턴 string

getAfterLogoutRedirectionUri() 공개 메소드

In case of NULL, it's the responsibility of the AuthenticationController where to redirect, most likely to the LoginController's index action.
public getAfterLogoutRedirectionUri ( ActionRequest $actionRequest ) : string
$actionRequest Neos\Flow\Mvc\ActionRequest
리턴 string A possible redirection URI, if any

getLastVisitedNode() 보호된 메소드

protected getLastVisitedNode ( string $workspaceName ) : Neos\ContentRepository\Domain\Model\NodeInterface
$workspaceName string
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

프로퍼티 상세

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

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
리턴 Neos\ContentRepository\Domain\Service\ContextFactoryInterface

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

protected DomainRepository,Neos\Neos\Domain\Repository $domainRepository
리턴 Neos\Neos\Domain\Repository\DomainRepository

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

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
리턴 Neos\ContentRepository\Domain\Repository\NodeDataRepository

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface

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

protected PropertyMapper,Neos\Flow\Property $propertyMapper
리턴 Neos\Flow\Property\PropertyMapper

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

protected SessionInterface,Neos\Flow\Session $session
리턴 Neos\Flow\Session\SessionInterface

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

protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository
리턴 Neos\Neos\Domain\Repository\SiteRepository

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

protected UserService,Neos\Neos\Service $userService
리턴 UserService

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

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
리턴 Neos\ContentRepository\Domain\Repository\WorkspaceRepository