Data ViewHelper <c:data> 

ViewHelper which defines data.

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

Arguments 

The following arguments are available for the data ViewHelper:

id

id
Required

true

Type
string

Data ID

values

values
Type
mixed

Examples 

With values attribute 

<c:data id="size" values="12" />
<c:data id="columnHeader" values="{data__labels}" />
    
    
Copied!

Child nodes 

<c:data id="dataSets">
    <c:item key="0" value="{data__set0}" />
    <c:item key="1" value="{data__set1}" />
</c:data>
Copied!
<c:data id="labels">
    January, February, March, April, May, June, July
</c:data>
Copied!