![]() |
TYPO3
7.6
|
Static Protected Member Functions | |
static | evaluateCondition ($arguments=null) |
![]() | |
static | renderStaticThenChild ($arguments, &$hasEvaluated) |
static | renderStaticElseChild ($arguments, &$hasEvaluated) |
static | evaluateCondition ($arguments=null) |
Additional Inherited Members | |
![]() | |
setChildNodes (array $childNodes) | |
__construct () | |
render () | |
compile ($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode,\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode,\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler) | |
![]() | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
![]() | |
renderThenChild () | |
renderElseChild () | |
![]() | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
This view helper implements an ifAuthenticated/else condition for BE users/groups.
= Examples =
<f:be.security.ifAuthenticated> This is being shown whenever a BE user is logged in </f:be.security.ifAuthenticated>
<output> Everything inside the <f:be.ifAuthenticated> tag is being displayed if you are authenticated with any BE user account. </output>
<f:be.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:be.security.ifAuthenticated>
<output> Everything inside the "then" tag is displayed if you have access. Otherwise, everything inside the "else"-tag is displayed. </output>
Definition at line 54 of file Be/Security/IfAuthenticatedViewHelper.php.
|
staticprotected |
This method decides if the condition is TRUE or FALSE. It can be overriden in extending viewhelpers to adjust functionality.
array | $arguments | ViewHelper arguments to evaluate the condition for this ViewHelper, allows for flexiblity in overriding this method. |
Definition at line 62 of file Be/Security/IfAuthenticatedViewHelper.php.
References $GLOBALS.