constructor Structures_DataGrid::Structures_DataGrid

constructor Structures_DataGrid::Structures_DataGrid() – コンストラクタ

Synopsis

require_once 'Structures/DataGrid.php';

void constructor Structures_DataGrid::Structures_DataGrid ( string $limit = = null , int $page = = null , string $rendererType = = null )

Description

DataGrid クラスを作成します。コア機能とレンダラは分割されており、 それによって保守性と高い結合性が保たれています。

Parameter

string $limit

1 ページあたりに表示するレコード数。

integer $page

現在表示しているページ。たいていの場合は、これは無意味です。 注意: これを指定すると、GET 変数 "page" は無視されます。

string $rendererType

使用するレンダラの型。これを使用するかわりに render()fill() あるいは getOutput() の引数 $type を使用することを推奨します。

Throws

例外はスローされません。

インスタンスの作成

<?php
// アンパサンドを忘れないでください。
$datagrid =& new Structures_DataGrid(); 
?>

Note

This function can not be called statically.