f:be.widget.paginate

This ViewHelper allows you to split a large amount of data into chunks across multiple pages, to define the number of records on each page, and to define where and how the navigation between the pages should appear.

Properties

objects

| Condition: required | Type: QueryResultInterface |

Not the result objects themselves, but the object from the Repository which contains the data needed to reproduce the SQL command. The SQL statement object and the SQL command aren't allowed here, as Extbase won't be able to work out how to implement the LIMIT attribute which controls the division of the data into paginated results.

as

| Condition: required | Type: string |

The name of the variable in which the reduced object is made available.

configuration

| Condition: optional | Type: array | Default: See "Configuration of the page navigation" |

Configuration of the page navigation

Configuration of the page navigation

itemsPerPage

| Condition: optional | Type: QueryResultInterface | Default: 10 |

The number of objects which may be associated with each page in the series.

insertAbove

| Condition: optional | Type: boolean | Default: false |

Display the page navigation above the results.

insertBelow

| Condition: optional | Type: boolean | Default: true |

Display the page navigation below the results.

recordsLabel

| Condition: optional | Type: string | Default: empty string |

An optional text to replace the standard descriptor “Records 1 - xy”.