Report Supplier
Overview
Provides access to information about the current report.
Inside any report, this supplier gives access to the content (page/news item/etc) and other information about the currently reported item.
Details
Name: | Report Supplier |
---|---|
Prefix: | report(required) |
Supported Content: | No content required, but must be within a report. |
Provided By: | Reporting FROM v1.3 |
Supported Keys
List of keys that this supplier returns a value for.
Key | Content Types | Return Type | Description |
---|---|---|---|
item |
| Anything | The item currently being reported on. Could be any data type or format, dependent on source. |
item number |
| The number of the current item in the set of items being reported on. The first item in a report will have the number '1'. | |
item outline [X] |
| Provides a numeric "outline" of nesting for the reported item using the provided separator parameter that is “.” by default. | |
current content |
| The current content being reported on. | |
root content |
| The content (page, news item, etc) that contains the top-level report in this HTTP request. | |
parent |
| The parent report object, if one exists. | |
query |
| The query being executed in the current report. From v3.3.0 |
Examples
Auto-numbered Rows
Displays the row/item number of the report in a column.
{report-table} {local-reporter:content:children} {report-column:title=#}{report-info:report:item number}{report-column}{report-column:title=Name}{report-info:content:title|link=true}{report-column} {report-table}