PHP Class Neos\Neos\Controller\Frontend\NodeController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$defaultViewObjectName string
$nodeShortcutResolver Neos\Neos\Domain\Service\NodeShortcutResolver
$privilegeManager Neos\Flow\Security\Authorization\PrivilegeManagerInterface
$propertyMapper Neos\Flow\Property\PropertyMapper
$session Neos\Flow\Session\SessionInterface
$view Neos\Neos\View\TypoScriptView

Méthodes publiques

Méthode Description
showAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null ) : string Shows the specified node and takes visibility and access restrictions into account.

Méthodes protégées

Méthode Description
handleShortcutNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Handles redirects to shortcut targets in live rendering.
overrideViewVariablesFromInternalArguments ( ) : void Checks if the optionally given node context path, affected node context path and typoscript path are set and overrides the rendering to use those. Will also add a "X-Neos-AffectedNodePath" header in case the actually affected node is different from the one routing resolved.

Method Details

handleShortcutNode() protected méthode

Handles redirects to shortcut targets in live rendering.
protected handleShortcutNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

overrideViewVariablesFromInternalArguments() protected méthode

This is used in out of band rendering for the backend.

showAction() public méthode

Shows the specified node and takes visibility and access restrictions into account.
public showAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null ) : string
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat string View output for the specified node

Property Details

$contextFactory protected_oe property

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
Résultat Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$defaultViewObjectName protected_oe property

protected string $defaultViewObjectName
Résultat string

$nodeShortcutResolver protected_oe property

protected NodeShortcutResolver,Neos\Neos\Domain\Service $nodeShortcutResolver
Résultat Neos\Neos\Domain\Service\NodeShortcutResolver

$privilegeManager protected_oe property

protected PrivilegeManagerInterface,Neos\Flow\Security\Authorization $privilegeManager
Résultat Neos\Flow\Security\Authorization\PrivilegeManagerInterface

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Résultat Neos\Flow\Property\PropertyMapper

$session protected_oe property

protected SessionInterface,Neos\Flow\Session $session
Résultat Neos\Flow\Session\SessionInterface

$view protected_oe property

protected TypoScriptView,Neos\Neos\View $view
Résultat Neos\Neos\View\TypoScriptView