Structures_DataGrid::
setDataSourceOptions
(Previous)
(Next) Structures_DataGrid::setRenderer

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Structures_DataGrid::setDefaultSort()

Structures_DataGrid::setDefaultSort()  -- デフォルトの並べ替え条件を設定する

説明

並べ替え条件が HTTP リクエストで指定されておらず、かつ sortRecordSet() メソッドもコールされていない場合、setDefaultSort() に渡した設定が用いられます。

これは、ユーザが最初にデータグリッドを見るときに すでに並べ替え済みであってほしい場合に有用です。

このメソッドは、bind() より先にコールする必要があります。

パラメータ

array $sortSpec

array(fieldName => direction, ...) で表した、並べ替えの設定。

返り値

true あるいは PEAR_Error オブジェクトを返します。

例外・エラー

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

注意

この関数は、スタティックにコールする ことはできません。

Structures_DataGrid::
setDataSourceOptions
(Previous)
(Next) Structures_DataGrid::setRenderer

Download Documentation Last updated: Sun, 31 Aug 2008
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.