Allows iteration over a set of data, rendering HTML.
The parameter is a two dimensional array consisting of column names and the direction of the order.
For example, the following would sort contacts by their last name ascending and in the event of two contacts having the same last name, their first name descending
array(array('contact_last_name', 'asc'), array('contact_first_name', 'desc'))
When set to true, an order parameter will be appended to the data. The order parameter is an array containing values similar to: array(array('contact_id', 'desc'), ...).
When set to true, two parameters will be appended to the call to the DataSource which represent the start and limit values of pagination.
For arrays of entities from the database (for example getAll()), the keys will be incrementing integers starting at 0.
Each click of the button will append pagingrows more rows. Default = false.
Default = 'init'. Other possible values: 'render'.
Linking with PHP
How to call functions in Server Code from the data repeater.
Linking with Components
You can link the data repeater to components within the system to iterate over data. Refer to the documentation of the component for function calls and field names.
Debugging the data
You can always output the data contained in the registered variable by using varDump().
DataStart and DataLimit Attributes
Allows you to show from a record, to a record. Behaves like the LIMIT clause in SQL.
Allows you to specify conditions in your query. Behaves like the WHERE clause in SQL.
Allows you to specify conditions in your query. Behaves like the ORDER clause in SQL.