Helping ordinary people create extraordinary websites!


HTML_Table::setCaption()

HTML_Table::setCaption() -- Set table caption

Description

Sets the caption of a table. This does not refer to the <th>-tag. The <caption>-tag defines a headline for the whole table.

Parameter

  • string $caption - the caption string

  • mixed $attributes - Associative array or string of caption attributes

Note

This function can not be called statically.