Structures_DataGrid::Structures_DataGrid()
Structures_DataGrid::Structures_DataGrid() -- Constructor
概要
require_once 'Structures/DataGrid.php'; |
void
Structures_DataGrid
([integer $limit = NULL [, integer $page = 0 [, string $renderer = DATAGRID_RENDER_TABLE]]])
説明
The constructor accepts 3 parameters all of which are optional and helps to
determine which type of grid you would like to use.
パラメータ
integer $limit - An integer that
determines how many records to show per page.
integer $page - An integer that determines
which page to display.
string $renderer - A string that determines
which renderer to use. Must be one of the defined constants.
注意
This object must be constructed as a reference in PHP4
例
例 54-1Instantiating a new DataGrid Object in PHP4
<?php
$dg =& new Structures_DataGrid();
?>
|
|