ViewHelper Documentation
v:if.context.isBackend
Condition: Is context Backend?
A condition ViewHelper which renders the then
child if
current context being rendered is BE.
Examples
<!-- simple usage, content becomes then-child -->
<v:if.context.isBackend>
Hooray for BE contexts!
</v:if.context.isBackend>
<!-- extended use combined with f:then and f:else -->
<v:if.context.isBackend>
<f:then>
Hooray for BE contexts!
</f:then>
<f:else>
Maybe FE, maybe CLI.
</f:else>
</v:if.context.isBackend>
Arguments
then anySimpleType
Value to be returned if the condition if met.
else anySimpleType
Value to be returned if the condition if not met.