void constructor
Structures_DataGrid::Structures_DataGrid
(
string
$limit
= null
,
int
$page
= null
,
string
$rendererType
= null
)
Builds the DataGrid class. The Core functionality and Renderer are separated for maintainability and to keep cohesion high.
$limit
The number of records to display per page.
$page
The current page viewed. In most cases, this is useless. Note: if you specify this, the "page" GET variable will be ignored.
$rendererType
The type of renderer to use. You may prefer to use the $type argument of render() , fill() or getOutput()
throws no exceptions thrown
Instantiation
<?php
// Don't forget the ampersand
$datagrid =& new Structures_DataGrid();
?>
This function can not be called statically.