PHP Class Neos\FluidAdaptor\ViewHelpers\Security\IfAuthenticatedViewHelper

= Examples = This is being shown whenever a user is logged in Everything inside the tag is being displayed if you are authenticated with any account. This is being shown in case you have access. This is being displayed in case you do not have access. Everything inside the "then" tag is displayed if you have access. Otherwise, everything inside the "else"-tag is displayed.
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractConditionViewHelper
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
render ( ) : string renders child if access to the given resource is allowed, otherwise renders child.

Méthodes protégées

Méthode Description
evaluateCondition ( null $arguments = null, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : boolean

Method Details

evaluateCondition() protected static méthode

protected static evaluateCondition ( null $arguments = null, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : boolean
$arguments null
$renderingContext TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
Résultat boolean

render() public méthode

renders child if access to the given resource is allowed, otherwise renders child.
public render ( ) : string
Résultat string the rendered then/else child nodes depending on the access