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
-
- Required
true
- Type
- string
Query ID
manager
-
- Type
- string
Query manager
uid
-
- Type
- string
UID of the query record
Note
The query will only be processed if the manager
and UID arguments are provided. These arguments
are not defined as required for compatibility
with the XML parser.
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!