HTML_Table::setCaption()

HTML_Table::setCaption() – テーブルの見出しを設定する

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setCaption ( string $caption , mixed $attributes = = null )

Description

テーブルの見出しを設定します。「見出し」とは <th> タグのことではありません。 <caption> タグによって、 テーブル全体についての見出しを定義します。

Parameter

  • string $caption - 見出し文字列。

  • mixed $attributes - 見出しの属性を表す連想配列あるいは文字列。

Note

This function can not be called statically.