PHP Class Neos\Neos\View\TypoScriptView

Inheritance: extends Neos\Flow\Mvc\View\AbstractView
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
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"

Méthodes protégées

Méthode Description
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

Method Details

assign() public méthode

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

canRenderWithNodeAndPath() public méthode

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

getClosestDocumentNode() protected méthode

protected getClosestDocumentNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

getCurrentNode() protected méthode

protected getCurrentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

getTypoScriptPath() public méthode

public getTypoScriptPath ( ) : string
Résultat string

getTypoScriptRuntime() protected méthode

protected getTypoScriptRuntime ( Neos\ContentRepository\Domain\Model\NodeInterface $currentSiteNode ) : Runtime
$currentSiteNode Neos\ContentRepository\Domain\Model\NodeInterface
Résultat Neos\Fusion\Core\Runtime

mergeHttpResponseFromOutput() protected méthode

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

render() public méthode

Renders the view
public render ( ) : string
Résultat string The rendered view

setTypoScriptPath() public méthode

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

Property Details

$i18nService protected_oe property

protected Service,Neos\Flow\I18n $i18nService
Résultat Neos\Flow\I18n\Service

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
Résultat Neos\Flow\Security\Context

$supportedOptions protected_oe property

This contains the supported options, their default values, descriptions and types.
protected array $supportedOptions
Résultat array

$typoScriptPath protected_oe property

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

$typoScriptRuntime protected_oe property

protected Runtime,Neos\Fusion\Core $typoScriptRuntime
Résultat Neos\Fusion\Core\Runtime

$typoScriptService protected_oe property

protected TypoScriptService,Neos\Neos\Domain\Service $typoScriptService
Résultat Neos\Neos\Domain\Service\TypoScriptService