Query ViewHelper <c:query> 

ViewHelper which defines queries.

Go to the source code of this ViewHelper: QueryViewHelper.php (GitHub).

Arguments 

The following arguments are available for the query ViewHelper:

id

id
Required

true

Type
string

Query ID

manager

manager
Type
string

Query manager

uid

uid
Type
string

UID of the query record

Example 

<c:query id="1"  manager="savcharts" uid="1" />    

<c:data id="labels" values="{query__1.Year}" />
<c:data id="data">
      <c:item key="0" value="{query__1.Count}" />
</c:data>
Copied!