Documentation · ViewHelper reference

XSD schema file | vhs 1.6.0

Condition / CliViewHelper

Alias of TxVhsViewHelpersIfContext_IsCliViewHelper for backwards compatibility.

Will be removed in 2.0

  • Tag usage example

    <v:condition.cli then="[mixed]" else="[mixed]">
    	<!-- tag content - may be ignored! -->
    </v:condition.cli>
  • Inline usage example

    {v:condition.cli(then: [mixed], else: [mixed])}

Arguments

Argument Description Type
else

Value to be returned if the condition if not met.

mixed
then

Value to be returned if the condition if met.

mixed
Required attribute

Revision history