PHP 클래스 Neos\Neos\View\TypoScriptView

상속: extends Neos\Flow\Mvc\View\AbstractView
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$i18nService Neos\Flow\I18n\Service
$securityContext Neos\Flow\Security\Context
$supportedOptions array This contains the supported options, their default values, descriptions and types.
$typoScriptPath string The TypoScript path to use for rendering the node given in "value", defaults to "page".
$typoScriptRuntime Neos\Fusion\Core\Runtime
$typoScriptService Neos\Neos\Domain\Service\TypoScriptService

공개 메소드들

메소드 설명
assign ( string $key, mixed $value ) : TypoScriptView Clear the cached runtime instance on assignment of variables
canRenderWithNodeAndPath ( ) : boolean Is it possible to render $node with $his->typoScriptPath?
getTypoScriptPath ( ) : string
render ( ) : string Renders the view
setTypoScriptPath ( string $typoScriptPath ) : void Set the TypoScript path to use for rendering the node given in "value"

보호된 메소드들

메소드 설명
getClosestDocumentNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface
getCurrentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
getTypoScriptRuntime ( Neos\ContentRepository\Domain\Model\NodeInterface $currentSiteNode ) : Runtime
mergeHttpResponseFromOutput ( string $output, Runtime $typoScriptRuntime ) : string

메소드 상세

assign() 공개 메소드

Clear the cached runtime instance on assignment of variables
public assign ( string $key, mixed $value ) : TypoScriptView
$key string
$value mixed
리턴 TypoScriptView

canRenderWithNodeAndPath() 공개 메소드

Is it possible to render $node with $his->typoScriptPath?
public canRenderWithNodeAndPath ( ) : boolean
리턴 boolean TRUE if $node can be rendered at $typoScriptPath

getClosestDocumentNode() 보호된 메소드

protected getClosestDocumentNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

getCurrentNode() 보호된 메소드

protected getCurrentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

getTypoScriptPath() 공개 메소드

public getTypoScriptPath ( ) : string
리턴 string

getTypoScriptRuntime() 보호된 메소드

protected getTypoScriptRuntime ( Neos\ContentRepository\Domain\Model\NodeInterface $currentSiteNode ) : Runtime
$currentSiteNode Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\Fusion\Core\Runtime

mergeHttpResponseFromOutput() 보호된 메소드

protected mergeHttpResponseFromOutput ( string $output, Runtime $typoScriptRuntime ) : string
$output string
$typoScriptRuntime Neos\Fusion\Core\Runtime
리턴 string The message body without the message head

render() 공개 메소드

Renders the view
public render ( ) : string
리턴 string The rendered view

setTypoScriptPath() 공개 메소드

Set the TypoScript path to use for rendering the node given in "value"
public setTypoScriptPath ( string $typoScriptPath ) : void
$typoScriptPath string
리턴 void

프로퍼티 상세

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

protected Service,Neos\Flow\I18n $i18nService
리턴 Neos\Flow\I18n\Service

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

protected Context,Neos\Flow\Security $securityContext
리턴 Neos\Flow\Security\Context

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

This contains the supported options, their default values, descriptions and types.
protected array $supportedOptions
리턴 array

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

The TypoScript path to use for rendering the node given in "value", defaults to "page".
protected string $typoScriptPath
리턴 string

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

protected Runtime,Neos\Fusion\Core $typoScriptRuntime
리턴 Neos\Fusion\Core\Runtime

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

protected TypoScriptService,Neos\Neos\Domain\Service $typoScriptService
리턴 Neos\Neos\Domain\Service\TypoScriptService