Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Provides access to information about the current report.
Info |
---|
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: |
|
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.
| |||||||
item number | The number of the current item in the set of items being reported on.
| ||||||||
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.
|
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}