PHP Класс Neos\Neos\View\TypoScriptView

Наследование: extends Neos\Flow\Mvc\View\AbstractView
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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