IfAuthenticatedViewHelper extends AbstractConditionViewHelper

FinalYes

ViewHelper implementing an ifAuthenticated/else condition for frontend users.

  <f:security.ifAuthenticated>
       <f:then>
          This is being shown in case you have access.
       </f:then>
       <f:else>
          This is being displayed in case you do not have access.
       </f:else>
  </f:security.ifAuthenticated>
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-security-ifauthenticated

Table of Contents

Methods

verdict()  : bool

Methods

verdict()

public static verdict(array<string|int, mixed> $arguments, RenderingContextInterface $renderingContext) : bool
Parameters
$arguments : array<string|int, mixed>
$renderingContext : RenderingContextInterface
Return values
bool

        
On this page

Search results