Documentation · ViewHelper reference

XSD schema file | vhs master

Condition / Type / IsQueryResultViewHelper

Condition: Value is a query result

Condition ViewHelper which renders the then child if provided value is an extbase query result. /

  • Tag usage example

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

    {v:condition.type.isQueryResult(then: [mixed], else: [mixed], condition: 1, value: [mixed])}

Arguments

Argument Description Type
condition

Condition expression conforming to Fluid boolean rules

boolean
else

Value to be returned if the condition if not met.

mixed
then

Value to be returned if the condition if met.

mixed
value

value to check

mixed
Required attribute

Revision history

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file