previousHTML_Table::setRowType() (Previous) (Next) HTML_Table::toHtml()next

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

HTML_Table::setRowAttributes()

HTML_Table::setRowAttributes() – 行の属性を設定する

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setRowAttributes ( int $row , mixed $attributes , boolean $inTR = = false , int $body=0 )

Description

既存の行の属性を設定します。

Parameter

  • int $row - 行インデックス。

  • mixed $attributes - 連想配列あるいは文字列で指定する、テーブルの行の属性。 これは属性の配列とすることも可能で、その場合には、 ループ内でそれらの属性が繰り返されます。

  • boolean $inTR - FALSE を指定すると、属性を td タグに対して設定します。 TRUE を指定すると、属性を tr タグに対して設定します。

  • int $body - 使用する tbody グループの番号。

Throws

Possible PEAR_Error values
エラーコード エラーメッセージ 意味 対応
  " Invalid table row reference [$row ] " $row が存在しません autoGrow 機能を有効にします
  " Invalid table column reference [$column ] " $column が存在しません autoGrow 機能を有効にします

Note

This function can not be called statically.

previousHTML_Table::setRowType() (Previous) (Next) HTML_Table::toHtml()next

Download Documentation Last updated: Sun, 21 Jun 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.