previousClass Structures_DataGrid (Previous) (Next) Structures_DataGrid::addColumnnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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.

Parameter

string $limit

The number of records to display per page.

integer $page

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

string $rendererType

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

Throws

throws no exceptions thrown

Examples

Instantiation

<?php
// Don't forget the ampersand
$datagrid =& new Structures_DataGrid();
?>

Note

This function can not be called statically.

previousClass Structures_DataGrid (Previous) (Next) Structures_DataGrid::addColumnnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.