HTML_Table::setCaption()

HTML_Table::setCaption() – Set table caption

Synopsis

require_once 'HTML/Table.php';

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

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.

HTML_Table::setAutoFill() (Previous) HTML_Table::setCellAttributes() (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.