Builds the DataGrid class. The Core functionality and Renderer are seperated for maintainability and to keep cohesion high.
The number of records to display per page.
The current page viewed. In most cases, this is useless. Note: if you specify this, the "page" GET variable will be ignored.
The type of renderer to use. You may prefer to use the $type argument of render(), fill() or getOutput()
Example 55-1. Instantiation
|