PHP 트레잇 Neos\Neos\Controller\CreateContentContextTrait

파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$_contextFactory Neos\Neos\Domain\Service\ContentContextFactory
$_domainRepository Neos\Neos\Domain\Repository\DomainRepository
$_siteRepository Neos\Neos\Domain\Repository\SiteRepository

보호된 메소드들

메소드 설명
createContentContext ( string $workspaceName, array $dimensions = [] ) : ContentContext Create a ContentContext based on the given workspace name
createContextMatchingNodeData ( NodeData $nodeData ) : ContentContext Generates a Context that exactly fits the given NodeData Workspace, Dimensions & Site.

메소드 상세

createContentContext() 보호된 메소드

Create a ContentContext based on the given workspace name
protected createContentContext ( string $workspaceName, array $dimensions = [] ) : ContentContext
$workspaceName string Name of the workspace to set for the context
$dimensions array Optional list of dimensions and their values which should be set
리턴 Neos\Neos\Domain\Service\ContentContext

createContextMatchingNodeData() 보호된 메소드

Generates a Context that exactly fits the given NodeData Workspace, Dimensions & Site.
protected createContextMatchingNodeData ( NodeData $nodeData ) : ContentContext
$nodeData Neos\ContentRepository\Domain\Model\NodeData
리턴 Neos\Neos\Domain\Service\ContentContext

프로퍼티 상세

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

protected ContentContextFactory,Neos\Neos\Domain\Service $_contextFactory
리턴 Neos\Neos\Domain\Service\ContentContextFactory

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

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

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

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