constructor Structures_DataGrid::Structures_DataGrid()

constructor Structures_DataGrid::Structures_DataGrid()  -- Constructor

Synopsis

require_once 'Structures/DataGrid.php';

void constructor Structures_DataGrid::Structures_DataGrid (string [$limit = NULL], int [$page = NULL], string [$rendererType = NULL])

Description

Builds the DataGrid class. The Core functionality and Renderer are seperated for maintainability and to keep cohesion high.

Paramètres

chaîne de caractères $limit

The number of records to display per page.

entier $page

The current page viewed. In most cases, this is useless. Note: if you specify this, the "page" GET variable will be ignored.

chaîne de caractères $rendererType

The type of renderer to use. You may prefer to use the $type argument of render() , fill() or getOutput()

Valeurs renvoyées

throws no exceptions thrown

Examples

Note

Cette fonction ne peut pas être appelée de façon statique.