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
Show file Open project: neos/flow-development-collection

Public Methods

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

Protected Methods

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

Method Details

evaluateCondition() protected static method

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

render() public method

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