HTML_Table::setCellAttributes() (Previous) (Next) HTML_Table::setColAttributes()

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

HTML_Table::setCellContents()

HTML_Table::setCellContents() -- セルの内容を設定する

説明

既存のセルに対してセルの内容を設定します。指定したインデックスが存在せず、 かつ autoGrowTRUE の場合は、 指定した行や列が自動的に追加されます。 autoGrowFALSE の場合はエラーが返されます。

パラメータ

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

  • int $col - 列インデックス。

  • mixed $contents - HTML か、あるいは任意のオブジェクトに toHTML() メソッドを適用したもの。

  • string $type - セルの型。'th' あるいは 'td' のいずれか。

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

注意

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

HTML_Table::setCellAttributes() (Previous) (Next) HTML_Table::setColAttributes()

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