| Structures_DataGrid_Column クラス概要 (Previous) | (Next) Structures_DataGrid_Column::format | ||||
| |
|||||
|
|||||
require_once 'Structures/DataGrid/Column.php'; |
void constructor
Structures_DataGrid_Column::Structures_DataGrid_Column
(string
$label, string
[$field = NULL], string
[$orderBy = NULL], array
[$attributes = array()], string
[$autoFillValue = NULL], mixed
[$formatter = NULL], array
[$formatterArgs = array()])
カラムのラベルとして表示される文字列。
カラムに対応させるフィールドの名前。
データの並べ替えを行うフィールドあるいは式。
XML あるいは HTML の TD タグの属性。 array(name => value, ...) 形式。
autoFill で使用する値。
フォーマッタ用のコールバック。setFormatter() を参照ください。
フォーマッタ用のコールバックの二番目の引数として渡す連想配列。
http://www.php.net/manual/ja/language.pseudo-types.php
Structures_DataGrid_Column::setFormatter()
Structures_DataGrid::addColumn() も参照ください。
| Structures_DataGrid_Column クラス概要 (Previous) | (Next) Structures_DataGrid_Column::format | ||||||||
| |
|||||||||
|
|||||||||